unprivileged user

Signed-off-by: Jess Frazelle <jess@oxide.computer>
This commit is contained in:
Jess Frazelle 2020-03-13 09:52:21 -07:00
parent 3d7b5ed43e
commit 611756d857
No known key found for this signature in database
GPG Key ID: 4BB1599E1A3071F2

View File

@ -16,7 +16,8 @@ ADD https://desktop.figma.com/win/FigmaSetup.exe /usr/src/FigmaSetup.exe
ENV HOME /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
USER user