add wine latest (#21)
This commit is contained in:
38
wine/latest/Dockerfile
Normal file
38
wine/latest/Dockerfile
Normal file
@@ -0,0 +1,38 @@
|
||||
# ----------------------------------
|
||||
# Generic Wine 6 image
|
||||
# ----------------------------------
|
||||
FROM ghcr.io/parkervcp/yolks:debian
|
||||
|
||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||
|
||||
## install required packages
|
||||
RUN dpkg --add-architecture i386 \
|
||||
&& apt update -y \
|
||||
&& apt install -y --no-install-recommends gnupg2 software-properties-common libntlm0 winbind xvfb xauth python3 libncurses5:i386 libncurses6:i386
|
||||
|
||||
# Install winehq-stable and with recommends
|
||||
RUN wget -nc https://dl.winehq.org/wine-builds/winehq.key \
|
||||
&& apt-key add winehq.key \
|
||||
&& echo "deb https://dl.winehq.org/wine-builds/debian/ bullseye main" >> /etc/apt/sources.list \
|
||||
&& apt update \
|
||||
&& apt install -y --install-recommends winehq-stable cabextract xvfb
|
||||
|
||||
# Set up Winetricks
|
||||
RUN wget -q -O /usr/sbin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks \
|
||||
&& chmod +x /usr/sbin/winetricks
|
||||
|
||||
ENV HOME=/home/container
|
||||
ENV WINEPREFIX=/home/container/.wine
|
||||
ENV WINEDLLOVERRIDES="mscoree,mshtml="
|
||||
ENV DISPLAY=:0
|
||||
ENV DISPLAY_WIDTH=1024
|
||||
ENV DISPLAY_HEIGHT=768
|
||||
ENV DISPLAY_DEPTH=16
|
||||
ENV AUTO_UPDATE=1
|
||||
ENV XVFB=1
|
||||
|
||||
USER container
|
||||
WORKDIR /home/container
|
||||
|
||||
COPY ./entrypoint.sh /entrypoint.sh
|
||||
CMD ["/bin/bash", "/entrypoint.sh"]
|
Reference in New Issue
Block a user