Skip to content

Commit 733fb7b

Browse files
committed
chore: ignore lint and specify targetplatform redundantly for clarity
1 parent 5b9a4ce commit 733fb7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

otelcollector/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} ./ocb --config otelcol-builder.yaml \
1616
&& chmod +x /app/otelcol-dev/otelcol \
1717
&& /app/otelcol-dev/otelcol --version
1818

19-
FROM golang:1.25
19+
FROM --platform=${TARGETPLATFORM} golang:1.25
2020

2121
COPY ./otel-config.yaml /etc/otel-config.yaml
2222
COPY --from=builder /app/otelcol-dev/otelcol /otelcol

0 commit comments

Comments
 (0)