We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23ced3b commit 87dbb49Copy full SHA for 87dbb49
otelcollector/Dockerfile
@@ -12,7 +12,7 @@ RUN curl -LJO https://github.com/open-telemetry/opentelemetry-collector/releases
12
13
COPY ./otelcol-builder.yaml ./otelcol-builder.yaml
14
15
-RUN ./ocb --config otelcol-builder.yaml \
+RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} ./ocb --config otelcol-builder.yaml \
16
&& chmod +x /app/otelcol-dev/otelcol \
17
&& /app/otelcol-dev/otelcol --version
18
0 commit comments