Skip to content

Commit

Permalink
[cherry-pick] Use user nobody (#1119)
Browse files Browse the repository at this point in the history
/cherry-pick
Signed-off-by: Tamal Saha <tamal@appscode.com>

Co-authored-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
1gtm and tamalsaha authored Aug 4, 2021
1 parent 60dd402 commit 0d7ee1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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}"]

0 comments on commit 0d7ee1b

Please sign in to comment.