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
abcba13a4d
commit
3d7b5ed43e
|
@ -14,6 +14,13 @@ LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
||||||
|
|
||||||
ADD https://desktop.figma.com/win/FigmaSetup.exe /usr/src/FigmaSetup.exe
|
ADD https://desktop.figma.com/win/FigmaSetup.exe /usr/src/FigmaSetup.exe
|
||||||
|
|
||||||
RUN echo "wine /usr/src/FigmaSetup.exe" > /root/.bash_history
|
ENV HOME /home/user
|
||||||
|
RUN useradd --create-home --home-dir $HOME user \
|
||||||
|
&& chown -R user:user $HOME
|
||||||
|
|
||||||
|
WORKDIR $HOME
|
||||||
|
USER user
|
||||||
|
|
||||||
|
RUN echo "wine /usr/src/FigmaSetup.exe" > /home/user/.bash_history
|
||||||
|
|
||||||
CMD [ "bash" ]
|
CMD [ "bash" ]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user