Skip to content
This repository has been archived by the owner on Aug 29, 2022. It is now read-only.

Commit

Permalink
Update base image to buster
Browse files Browse the repository at this point in the history
This commit updates the base image from debian 9.8 to 10.0.
Clair flags a number of high severity CVEs, some of which
are not fixed on stretch, but are addressed in buster (stable)
and sid (unstable).
  • Loading branch information
johnmccabe authored and johngmyers committed Jul 19, 2019
1 parent f4c4465 commit 86e788c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@ ADD . /go/src/github.com/proofpoint/kapprover
RUN go install github.com/proofpoint/kapprover/cmd/kapprover && \
go test github.com/proofpoint/kapprover/...

FROM debian:9.8-slim

RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install --assume-yes \
# These packages are security updates
tzdata=2019a-0+deb9u1
FROM debian:10.0-slim

COPY --from=0 /go/bin/kapprover .
ENTRYPOINT ["/kapprover"]

0 comments on commit 86e788c

Please sign in to comment.