mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
unprivileged user
Signed-off-by: Jess Frazelle <jess@oxide.computer>
This commit is contained in:
parent
3d7b5ed43e
commit
611756d857
|
@ -16,7 +16,8 @@ ADD https://desktop.figma.com/win/FigmaSetup.exe /usr/src/FigmaSetup.exe
|
||||||
|
|
||||||
ENV HOME /home/user
|
ENV HOME /home/user
|
||||||
RUN useradd --create-home --home-dir $HOME user \
|
RUN useradd --create-home --home-dir $HOME user \
|
||||||
&& chown -R user:user $HOME
|
&& chown -R user:user $HOME \
|
||||||
|
&& chown user:user /usr/src/FigmaSetup.exe
|
||||||
|
|
||||||
WORKDIR $HOME
|
WORKDIR $HOME
|
||||||
USER user
|
USER user
|
||||||
|
|
Loading…
Reference in New Issue
Block a user