Skip to content

Commit 87dbb49

Browse files
committed
chore: cross compile with ocb
1 parent 23ced3b commit 87dbb49

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
@@ -12,7 +12,7 @@ RUN curl -LJO https://github.com/open-telemetry/opentelemetry-collector/releases
1212

1313
COPY ./otelcol-builder.yaml ./otelcol-builder.yaml
1414

15-
RUN ./ocb --config otelcol-builder.yaml \
15+
RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} ./ocb --config otelcol-builder.yaml \
1616
&& chmod +x /app/otelcol-dev/otelcol \
1717
&& /app/otelcol-dev/otelcol --version
1818

0 commit comments

Comments
 (0)