We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87dbb49 commit 4dd3805Copy full SHA for 4dd3805
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