Skip to content

Commit

Permalink
Use GNU tar to support --sort
Browse files Browse the repository at this point in the history
  • Loading branch information
bmwiedemann authored and frelon committed Dec 2, 2024
1 parent 733c343 commit 7116985
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-alpine AS elemental-bin
ENV CGO_ENABLED=0
WORKDIR /src/

# install GNU tar instead of busybox one to support --sort
RUN apk add --no-cache tar

# Add specific dirs to the image so cache is not invalidated when modifying non go files
ADD go.mod .
ADD go.sum .
Expand Down

0 comments on commit 7116985

Please sign in to comment.