Skip to content

Commit

Permalink
Merge pull request #98 from lightstep/fix-image
Browse files Browse the repository at this point in the history
Align the builder, fix the image
  • Loading branch information
jaronoff97 authored Oct 7, 2024
2 parents 1b48943 + bfa31ba commit 87ad24a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arrow/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ WORKDIR /otelarrowcol
COPY . .
ENV CGO_ENABLED=0

# Note the version MUST MATCH otelarrowcol-build.yaml
# Future optimization - curl the release.
RUN go install go.opentelemetry.io/collector/cmd/[email protected]
RUN BUILDER_VERSION=$(grep 'otelcol_version' /otelarrowcol/otelcolarrow-build.yaml | awk '{print $2}') && \
go install go.opentelemetry.io/collector/cmd/builder@v${BUILDER_VERSION}

# This command generates main.go, go.mod but does not update deps.
RUN builder --config=/otelarrowcol/otelcolarrow-build.yaml
Expand Down

0 comments on commit 87ad24a

Please sign in to comment.