Skip to content

Commit 7c70adf

Browse files
1gtmtamalsaha
andauthored
[cherry-pick] Use numeric uid in Dockerfile (#1357) (#1364)
/cherry-pick Signed-off-by: Tamal Saha <tamal@appscode.com> Co-authored-by: Tamal Saha <tamal@appscode.com>
1 parent 2fc98a7 commit 7c70adf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ RUN npm config set unsafe-perm true \
4444
COPY --from=0 /restic /bin/restic
4545
COPY bin/{ARG_OS}_{ARG_ARCH}/{ARG_BIN} /{ARG_BIN}
4646

47-
USER nobody
47+
USER 65534
4848

4949
ENTRYPOINT ["/{ARG_BIN}"]

0 commit comments

Comments
 (0)