File tree Expand file tree Collapse file tree 3 files changed +20
-2
lines changed
instrumentation/otel-webserver-module Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ project.ext {
23
23
24
24
ansdkOsName = osName
25
25
ansdkArch = (osArch == ' x86' ? ' i686' : osArch)
26
- gccArchFlag = (osArch == ' x86' ? ' -m32' : ' - m64' )
26
+ gccArchFlag = (osArch == ' x86' ? ' -m32' : (osArch == ' aarch64 ' ? ' -march=armv8-a ' : ' - m64' ) )
27
27
headSHA1 = " <dev>"
28
28
29
29
try {
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ services:
7
7
build :
8
8
context : .
9
9
dockerfile : Dockerfile
10
+ platforms :
11
+ - " linux/amd64"
12
+ - " linux/arm64"
10
13
image : apache_centos
11
14
profiles :
12
15
- default
@@ -19,6 +22,9 @@ services:
19
22
build :
20
23
context : .
21
24
dockerfile : docker/centos7/Dockerfile
25
+ platforms :
26
+ - " linux/amd64"
27
+ - " linux/arm64"
22
28
image : apache_centos7
23
29
hostname : webserver
24
30
container_name : webserver_centos7
@@ -33,6 +39,9 @@ services:
33
39
build :
34
40
context : .
35
41
dockerfile : docker/ubuntu20.04/Dockerfile
42
+ platforms :
43
+ - " linux/amd64"
44
+ - " linux/arm64"
36
45
image : apache_ubuntu
37
46
hostname : webserver
38
47
container_name : webserver_ubuntu
@@ -47,6 +56,9 @@ services:
47
56
build :
48
57
context : .
49
58
dockerfile : Dockerfile
59
+ platforms :
60
+ - " linux/amd64"
61
+ - " linux/arm64"
50
62
image : nginx_centos
51
63
hostname : webserver
52
64
container_name : nginx_centos
@@ -61,6 +73,9 @@ services:
61
73
build :
62
74
context : .
63
75
dockerfile : docker/centos7/Dockerfile
76
+ platforms :
77
+ - " linux/amd64"
78
+ - " linux/arm64"
64
79
image : nginx_centos7
65
80
hostname : webserver
66
81
container_name : nginx_centos7
@@ -75,6 +90,9 @@ services:
75
90
build :
76
91
context : .
77
92
dockerfile : docker/ubuntu20.04/Dockerfile
93
+ platforms :
94
+ - " linux/amd64"
95
+ - " linux/arm64"
78
96
image : nginx_ubuntu
79
97
hostname : webserver
80
98
container_name : nginx_ubuntu
Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ RUN cp -r /dependencies /otel-webserver-module/ \
201
201
&& ./gradlew assembleWebServerModule -DtargetSystem=ubuntu
202
202
203
203
RUN cd /otel-webserver-module/build \
204
- && tar -xf opentelemetry-webserver-sdk-x64 -linux.tgz \
204
+ && tar -xf opentelemetry-webserver-sdk-* -linux.tgz \
205
205
&& mv -f opentelemetry-webserver-sdk /opt/ \
206
206
&& cd ../ \
207
207
&& cp opentelemetry_module.conf /etc/apache2/opentelemetry_module.conf \
You can’t perform that action at this time.
0 commit comments