Skip to content

Commit

Permalink
Pin UPX version in Dockerfile (#116)
Browse files Browse the repository at this point in the history
We want all of our dependencies to be pinned, so that we have
reproducible builds.

Closes #68
  • Loading branch information
johnboyes authored Aug 17, 2020
1 parent 6795477 commit b4911bf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ RUN CGO_ENABLED=0 GOFLAGS=-ldflags="-w" mage -compile /bin/check-labels -goos li
RUN strip /bin/check-labels

# Compress the compiled action using UPX (https://upx.github.io/)
# hadolint ignore=DL3008
RUN apt-get update && apt-get -y install --no-install-recommends upx
RUN apt-get update && apt-get -y install --no-install-recommends upx-ucl=3.95-1
RUN upx -q -9 /bin/check-labels

# Use the most basic and empty container - no runtime, files, shell, libraries, etc.
Expand Down

0 comments on commit b4911bf

Please sign in to comment.