From 90fcc688ea8248c787b4856e42aecd44478e2a95 Mon Sep 17 00:00:00 2001 From: John Gardiner Myers Date: Wed, 16 Oct 2019 21:15:23 -0700 Subject: [PATCH] Run as a non-root user --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 4d953bda..bca04ba2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,4 +6,5 @@ RUN go install github.com/proofpoint/certificate-init-container && \ FROM debian:10.1-slim COPY --from=0 /go/bin/certificate-init-container . +USER 1000 ENTRYPOINT ["/certificate-init-container"]