added a new user in the dockerfile
This commit is contained in:
parent
e32ca8b9b0
commit
7177edafd4
1 changed files with 4 additions and 1 deletions
|
@ -25,5 +25,8 @@ RUN apt update \
|
||||||
git \
|
git \
|
||||||
&& find /var/lib/apt -type f -delete
|
&& find /var/lib/apt -type f -delete
|
||||||
|
|
||||||
VOLUME /workdir
|
RUN useradd -rm builder
|
||||||
|
|
||||||
|
USER builder
|
||||||
|
|
||||||
WORKDIR /workdir
|
WORKDIR /workdir
|
||||||
|
|
Loading…
Reference in a new issue