Skip to content

Commit 232aaeb

Browse files
committed
fix dockerfile not building
1 parent 7783613 commit 232aaeb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ COPY . /build
44
WORKDIR /build
55

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

911
# build as PIE to take advantage of exploit mitigations
1012
ARG CGO_ENABLED=0

0 commit comments

Comments
 (0)