diff --git a/Dockerfile.in b/Dockerfile.in index 8c0eb0b66..3f9431ebe 100644 --- a/Dockerfile.in +++ b/Dockerfile.in @@ -35,5 +35,6 @@ LABEL org.opencontainers.image.source https://github.com/stashed/mongodb COPY --from=0 /restic /bin/restic COPY bin/{ARG_OS}_{ARG_ARCH}/{ARG_BIN} /{ARG_BIN} +USER nobody ENTRYPOINT ["/{ARG_BIN}"]