Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
jessfraz committed Mar 13, 2020
1 parent f65e202 commit a20a544
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
8 changes: 3 additions & 5 deletions figma-wine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,15 @@
FROM r.j3ss.co/wine
LABEL maintainer "Jessie Frazelle <[email protected]>"

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 user:user /usr/src/FigmaSetup.exe
&& curl -sSL "https://desktop.figma.com/win/FigmaSetup.exe" > ${HOME}/FigmaSetup.exe \
&& chown -R user:user $HOME

WORKDIR $HOME
USER user

RUN echo "wine /usr/src/FigmaSetup.exe" > /home/user/.bash_history
RUN echo "wine runas /trustlevel:0x20000 FigmaSetup.exe" > /home/user/.bash_history
RUN echo "winetricks dotnet45" >> /home/user/.bash_history
RUN echo "winecfg" >> /home/user/.bash_history

Expand Down
11 changes: 7 additions & 4 deletions wine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,21 @@ LABEL maintainer "Jessie Frazelle <[email protected]>"
# install wine
RUN echo "deb http://deb.debian.org/debian sid main contrib" > /etc/apt/sources.list \
&& apt-get update && apt-get install -y \
apt-transport-https \
cabextract \
ca-certificates \
curl \
gnupg2 \
fonts-wine \
wine \
winetricks \
--no-install-recommends && \
dpkg --add-architecture i386 && \
curl -sSL "https://dl.winehq.org/wine-builds/winehq.key" | apt-key add - \
&& echo "deb https://dl.winehq.org/wine-builds/debian/ bullseye main" >> /etc/apt/sources.list \
&& dpkg --add-architecture i386 && \
apt-get update && \
apt-get install -y \
libwine \
wine32 \
wine64 \
winehq-staging \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

Expand Down

0 comments on commit a20a544

Please sign in to comment.