Modify integration test for setting root user explicitly
This commit is contained in:
parent
49b2fa5199
commit
39d6dc1ce7
|
|
@ -21,6 +21,8 @@ USER testuser:1001
|
||||||
RUN echo "hey2" >> /tmp/foo
|
RUN echo "hey2" >> /tmp/foo
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
RUN echo "hi" > $HOME/file
|
||||||
|
COPY context/foo $HOME/foo
|
||||||
|
|
||||||
RUN useradd -ms /bin/bash newuser
|
RUN useradd -ms /bin/bash newuser
|
||||||
USER newuser
|
USER newuser
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue