forked from jessfraz/dockerfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jess Frazelle <[email protected]>
- Loading branch information
Showing
2 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/* | ||
|
||
|