Skip to content

Commit

Permalink
dockerfile: print built version (#2272)
Browse files Browse the repository at this point in the history
Prints the built version inside the docker file to debug incorrect tagged versions.

category: misc
ticket: #2270
  • Loading branch information
corverroos authored Jun 5, 2023
1 parent fc2b73e commit ef9266a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ RUN \
--mount=type=cache,target=/go/pkg \
--mount=type=cache,target=/root/.cache/go-build \
go build -o charon "${GO_BUILD_FLAGS}" .
RUN echo "Built charon version=$(./charon version)"

# Copy final binary into light stage.
FROM debian:bullseye-slim
Expand Down

0 comments on commit ef9266a

Please sign in to comment.