forked from pterodactyl/yolks
-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #170 from gOOvER/wineupdate
update all wine images to use latest keyrings and added wine devel
- Loading branch information
Showing
5 changed files
with
88 additions
and
58 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 |
---|---|---|
|
@@ -17,6 +17,7 @@ jobs: | |
matrix: | ||
tag: | ||
- latest | ||
- devel | ||
- staging | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# --------------------------------------- | ||
# Generic Wine image based on Wine devel | ||
# --------------------------------------- | ||
FROM ghcr.io/parkervcp/yolks:debian | ||
|
||
LABEL author="Michael Parker" maintainer="[email protected]" | ||
LABEL org.opencontainers.image.licenses=MIT | ||
|
||
## install required packages | ||
RUN dpkg --add-architecture i386 \ | ||
&& apt update -y \ | ||
&& apt install -y --no-install-recommends gnupg2 numactl tzdata software-properties-common libntlm0 winbind xvfb xauth python3 libncurses5:i386 libncurses6:i386 libsdl2-2.0-0 libsdl2-2.0-0:i386 | ||
|
||
# Install wine and with recommends | ||
RUN mkdir -pm755 /etc/apt/keyrings | ||
RUN wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key | ||
RUN wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bullseye/winehq-bullseye.sources | ||
RUN apt update | ||
RUN apt install --install-recommends winehq-devel cabextract wine-binfmt -y | ||
|
||
# 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 | ||
|
||
COPY ./../entrypoint.sh /entrypoint.sh | ||
CMD [ "/bin/bash", "/entrypoint.sh" ] |
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 |
---|---|---|
@@ -1,40 +1,36 @@ | ||
# --------------------------------------- | ||
# Generic Wine image based on Wine stable | ||
# --------------------------------------- | ||
FROM ghcr.io/parkervcp/yolks:debian | ||
FROM ghcr.io/parkervcp/yolks:debian | ||
|
||
LABEL author="Michael Parker" maintainer="[email protected]" | ||
LABEL author="Michael Parker" maintainer="[email protected]" | ||
LABEL org.opencontainers.image.licenses=MIT | ||
|
||
## install required packages | ||
RUN dpkg --add-architecture i386 \ | ||
&& apt update -y \ | ||
&& apt install -y --no-install-recommends gnupg2 numactl tzdata software-properties-common libntlm0 winbind xvfb xauth python3 libncurses5:i386 libncurses6:i386 libsdl2-2.0-0 libsdl2-2.0-0:i386 | ||
RUN dpkg --add-architecture i386 \ | ||
&& apt update -y \ | ||
&& apt install -y --no-install-recommends gnupg2 numactl tzdata software-properties-common libntlm0 winbind xvfb xauth python3 libncurses5:i386 libncurses6:i386 libsdl2-2.0-0 libsdl2-2.0-0: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 \ | ||
&& wget -O- -q download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_11/Release.key | apt-key add - \ | ||
&& echo "deb http://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_11 ./" | tee /etc/apt/sources.list.d/wine-obs.list \ | ||
&& apt update \ | ||
&& apt install -y --install-recommends winehq-stable cabextract | ||
# Install wine and with recommends | ||
RUN mkdir -pm755 /etc/apt/keyrings | ||
RUN wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key | ||
RUN wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bullseye/winehq-bullseye.sources | ||
RUN apt update | ||
RUN apt install --install-recommends winehq-stable cabextract wine-binfmt -y | ||
|
||
# Set up Winetricks | ||
RUN wget -q -O /usr/sbin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks \ | ||
&& chmod +x /usr/sbin/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 | ||
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" ] | ||
COPY ./../entrypoint.sh /entrypoint.sh | ||
CMD [ "/bin/bash", "/entrypoint.sh" ] |
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 |
---|---|---|
@@ -1,40 +1,36 @@ | ||
# --------------------------------------- | ||
# Generic Wine image based on Wine staging | ||
# --------------------------------------- | ||
FROM ghcr.io/parkervcp/yolks:debian | ||
FROM ghcr.io/parkervcp/yolks:debian | ||
|
||
LABEL author="Michael Parker" maintainer="[email protected]" | ||
LABEL author="Michael Parker" maintainer="[email protected]" | ||
LABEL org.opencontainers.image.licenses=MIT | ||
|
||
## install required packages | ||
RUN dpkg --add-architecture i386 \ | ||
&& apt update -y \ | ||
&& apt install -y --no-install-recommends gnupg2 tzdata numactl software-properties-common libntlm0 winbind xvfb xauth python3 libncurses5:i386 libncurses6:i386 libsdl2-2.0-0 libsdl2-2.0-0:i386 | ||
RUN dpkg --add-architecture i386 \ | ||
&& apt update -y \ | ||
&& apt install -y --no-install-recommends gnupg2 numactl tzdata software-properties-common libntlm0 winbind xvfb xauth python3 libncurses5:i386 libncurses6:i386 libsdl2-2.0-0 libsdl2-2.0-0: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 \ | ||
&& wget -O- -q download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_11/Release.key | apt-key add - \ | ||
&& echo "deb http://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_11 ./" | tee /etc/apt/sources.list.d/wine-obs.list \ | ||
&& apt update \ | ||
&& apt install -y --install-recommends winehq-staging cabextract | ||
# Install wine and with recommends | ||
RUN mkdir -pm755 /etc/apt/keyrings | ||
RUN wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key | ||
RUN wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bullseye/winehq-bullseye.sources | ||
RUN apt update | ||
RUN apt install --install-recommends winehq-staging cabextract wine-binfmt -y | ||
|
||
# Set up Winetricks | ||
RUN wget -q -O /usr/sbin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks \ | ||
&& chmod +x /usr/sbin/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 | ||
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" ] | ||
COPY ./../entrypoint.sh /entrypoint.sh | ||
CMD [ "/bin/bash", "/entrypoint.sh" ] |