Signed-off-by: Jess Frazelle <jess@oxide.computer>
This commit is contained in:
Jess Frazelle 2020-03-13 10:15:06 -07:00
parent f65e202621
commit a20a544be1
No known key found for this signature in database
GPG Key ID: 4BB1599E1A3071F2
2 changed files with 10 additions and 9 deletions

View File

@ -12,17 +12,15 @@
FROM r.j3ss.co/wine FROM r.j3ss.co/wine
LABEL maintainer "Jessie Frazelle <jess@linux.com>" LABEL maintainer "Jessie Frazelle <jess@linux.com>"
ADD https://desktop.figma.com/win/FigmaSetup.exe /usr/src/FigmaSetup.exe
ENV HOME /home/user ENV HOME /home/user
RUN useradd --create-home --home-dir $HOME user \ RUN useradd --create-home --home-dir $HOME user \
&& chown -R user:user $HOME \ && curl -sSL "https://desktop.figma.com/win/FigmaSetup.exe" > ${HOME}/FigmaSetup.exe \
&& chown user:user /usr/src/FigmaSetup.exe && chown -R user:user $HOME
WORKDIR $HOME WORKDIR $HOME
USER user 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 "winetricks dotnet45" >> /home/user/.bash_history
RUN echo "winecfg" >> /home/user/.bash_history RUN echo "winecfg" >> /home/user/.bash_history

View File

@ -5,18 +5,21 @@ LABEL maintainer "Jessie Frazelle <jess@linux.com>"
# install wine # install wine
RUN echo "deb http://deb.debian.org/debian sid main contrib" > /etc/apt/sources.list \ RUN echo "deb http://deb.debian.org/debian sid main contrib" > /etc/apt/sources.list \
&& apt-get update && apt-get install -y \ && apt-get update && apt-get install -y \
apt-transport-https \
cabextract \ cabextract \
ca-certificates \ ca-certificates \
curl \
gnupg2 \
fonts-wine \ fonts-wine \
wine \
winetricks \ winetricks \
--no-install-recommends && \ --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 update && \
apt-get install -y \ apt-get install -y \
libwine \ libwine \
wine32 \ winehq-staging \
wine64 \
--no-install-recommends \ --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*