Skip to content

Commit

Permalink
[cherry-pick] Use numeric uid in Dockerfile (#1357) (#1366)
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 committed Apr 28, 2023
1 parent eb185e0 commit d4ae019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ RUN npm config set unsafe-perm true \
COPY --from=0 /restic /bin/restic
COPY bin/{ARG_OS}_{ARG_ARCH}/{ARG_BIN} /{ARG_BIN}

USER nobody
USER 65534

ENTRYPOINT ["/{ARG_BIN}"]

0 comments on commit d4ae019

Please sign in to comment.