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"]