Skip to content

Commit

Permalink
Merge pull request #760 from pjbgf/use-edge-gpg
Browse files Browse the repository at this point in the history
build: Bump gpg to alpine's edge
  • Loading branch information
Paulo Gomes authored Nov 9, 2022
2 parents 47073a3 + d8e820b commit 9582513
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 @@ -33,7 +33,9 @@ RUN xx-go build -trimpath -a -o kustomize-controller main.go

FROM alpine:3.16

RUN apk add --no-cache ca-certificates tini git openssh-client gnupg
# Uses GnuPG from edge to patch CVE-2022-3515.
RUN apk add --no-cache ca-certificates tini git openssh-client && \
apk add --no-cache gnupg --repository=https://dl-cdn.alpinelinux.org/alpine/edge/main

COPY --from=builder /workspace/kustomize-controller /usr/local/bin/

Expand Down

0 comments on commit 9582513

Please sign in to comment.