Skip to content

Commit 24dc09c

Browse files
committed
fixup last USER should not be root (#2686)
1 parent 0cb26d1 commit 24dc09c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

runtimes/rocm-tensorflow/ubi9-python-3.12/Dockerfile.rocm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,5 @@ EOF
115115

116116
COPY ${JUPYTER_REUSABLE_UTILS}/usercustomize.pth ${JUPYTER_REUSABLE_UTILS}/monkey_patch_protobuf_6x.py /opt/app-root/lib/python3.12/site-packages/
117117

118+
USER 1001
118119
WORKDIR /opt/app-root/src

runtimes/tensorflow/ubi9-python-3.12/Dockerfile.cuda

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,5 @@ EOF
118118

119119
COPY ${JUPYTER_REUSABLE_UTILS}/usercustomize.pth ${JUPYTER_REUSABLE_UTILS}/monkey_patch_protobuf_6x.py /opt/app-root/lib/python3.12/site-packages/
120120

121+
USER 1001
121122
WORKDIR /opt/app-root/src

0 commit comments

Comments
 (0)