From f0aa7fc30853e9f640f9b101b8dab1a7511eab52 Mon Sep 17 00:00:00 2001 From: Christian Joun Date: Mon, 8 Apr 2019 16:50:48 -0700 Subject: [PATCH] Fix debian and apply security update --- Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9145be32..4ab5333c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,12 @@ ADD . /go/src/github.com/proofpoint/certificate-init-container RUN go install github.com/proofpoint/certificate-init-container && \ go test github.com/proofpoint/certificate-init-container/... -FROM alpine +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 + COPY --from=0 /go/bin/certificate-init-container . ENTRYPOINT ["/certificate-init-container"]