mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-06 18:01:28 +02:00
Modify integration test for setting root user explicitly
This commit is contained in:
@@ -21,6 +21,8 @@ USER testuser:1001
|
||||
RUN echo "hey2" >> /tmp/foo
|
||||
|
||||
USER root
|
||||
RUN echo "hi" > $HOME/file
|
||||
COPY context/foo $HOME/foo
|
||||
|
||||
RUN useradd -ms /bin/bash newuser
|
||||
USER newuser
|
||||
|
||||
Reference in New Issue
Block a user