From 611756d857ee250bc8b32ff94fe3c9f9521f8a2a Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Fri, 13 Mar 2020 09:52:21 -0700 Subject: [PATCH] unprivileged user Signed-off-by: Jess Frazelle --- figma-wine/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/figma-wine/Dockerfile b/figma-wine/Dockerfile index 1663b7b..dbaa9ce 100644 --- a/figma-wine/Dockerfile +++ b/figma-wine/Dockerfile @@ -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