We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a56785e commit 7dd87bcCopy full SHA for 7dd87bc
otelcollector/Dockerfile
@@ -16,7 +16,7 @@ RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} ./ocb --config otelcol-builder.yaml \
16
&& chmod +x /app/otelcol-dev/otelcol \
17
&& /app/otelcol-dev/otelcol --version
18
19
-FROM golang:1.25
+FROM --platform=${TARGETPLATFORM} golang:1.25
20
21
COPY ./otel-config.yaml /etc/otel-config.yaml
22
COPY --from=builder /app/otelcol-dev/otelcol /otelcol
0 commit comments