Skip to content

Commit 9af08f0

Browse files
committed
fix (project-clone) : update project-clone Dockerfile to modify /etc/passwd permissions/ownership
- Added command to set permissions (chmod 644) for /etc/passwd during the user setup process. Signed-off-by: Rohan Kumar <[email protected]>
1 parent 6f01ac3 commit 9af08f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project-clone/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ENV USER_UID=1001 \
4949
HOME=/home/user
5050

5151
COPY build/bin /usr/local/bin
52-
RUN /usr/local/bin/user_setup
52+
RUN /usr/local/bin/user_setup && chmod 644 /etc/passwd
5353

5454
USER ${USER_UID}
5555

0 commit comments

Comments
 (0)