Skip to content

Commit

Permalink
use latest git version in Dockerfile to fix building (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
capnspacehook authored Dec 6, 2022
1 parent e1097cd commit 2443762
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ COPY . /build
WORKDIR /build/cmd/whalewall

# add git so VCS info will be stamped in binary
RUN apk add --no-cache git=2.36.3-r0
# ignore warning that a specific version of git isn't pinned
# hadolint ignore=DL3018
RUN apk add --no-cache git

# build as PIE to take advantage of exploit mitigations
ARG CGO_ENABLED=0
Expand Down

0 comments on commit 2443762

Please sign in to comment.