Skip to content

Commit

Permalink
Merge branch 'main' into update-php-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
austinlparker authored Jul 24, 2023
2 parents 64069ab + 2ee9658 commit 29ee633
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/otelcollector/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@

FROM golang:latest as build

ARG TARGETARCH=arm64
ARG TARGETARCH
ARG BUILDER_VERSION=0.81.0

RUN curl -L -o /builder https://github.com/open-telemetry/opentelemetry-collector/releases/download/cmd%2Fbuilder%2Fv${BUILDER_VERSION}/ocb_${BUILDER_VERSION}_linux_${TARGETARCH}
RUN chmod +x /builder
WORKDIR /build
COPY ./src/otelcollector/manifest.yml ./
ENV GOARCH=arm64
ENV GOARCH=$TARGETARCH
ENV CGO_ENABLED=0
RUN /builder --config ./manifest.yml --output-path /build/_build
RUN ls /build/_build
Expand Down

0 comments on commit 29ee633

Please sign in to comment.