From 3d6a23d258d41d629e056c18208e4cb6a192cdc4 Mon Sep 17 00:00:00 2001 From: Nick Schuch Date: Fri, 4 Feb 2022 13:25:43 +1000 Subject: [PATCH] Created user: skpr --- Dockerfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 88be2ef..fb627d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,12 @@ FROM alpine:latest + RUN apk add --no-cache ca-certificates + +RUN adduser -D -u 1000 skpr + COPY s3-sync /usr/local/bin/ RUN chmod +x /usr/local/bin/s3-sync -ENTRYPOINT ["/usr/local/bin/s3-sync"] \ No newline at end of file + +USER skpr + +ENTRYPOINT ["/usr/local/bin/s3-sync"]