mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 03:21:28 +01:00
update
Signed-off-by: Jess Frazelle <jess@oxide.computer>
This commit is contained in:
parent
f65e202621
commit
a20a544be1
|
@ -12,17 +12,15 @@
|
|||
FROM r.j3ss.co/wine
|
||||
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
||||
|
||||
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
|
||||
|
||||
|
|
|
@ -5,18 +5,21 @@ LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
|||
# 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/*
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user