From 86e788cfec45d77550a38fefdd1eb5a0874284bf Mon Sep 17 00:00:00 2001 From: John McCabe Date: Thu, 18 Jul 2019 02:04:20 +0100 Subject: [PATCH] Update base image to buster 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). --- Dockerfile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index fbad8d21..67ebcc23 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]