Last active
October 5, 2022 16:17
-
-
Save lukaszlach/fc7c972fd52a65a30baaea9631480787 to your computer and use it in GitHub Desktop.
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
FROM debian:stretch | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN apt-get update && \ | |
apt-get install -y curl apt-transport-https x11vnc xvfb gnupg && \ | |
dpkg --add-architecture i386 && \ | |
curl https://dl.winehq.org/wine-builds/Release.key | apt-key add - && \ | |
echo "deb https://dl.winehq.org/wine-builds/debian/ stretch main" > /etc/apt/sources.list.d/wine.list && \ | |
apt-get update && \ | |
apt-get install -y --allow-unauthenticated --install-recommends winehq-devel && \ | |
curl -o /usr/bin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks && \ | |
chmod +x /usr/bin/winetricks | |
ENV DISPLAY :1 | |
WORKDIR /eduke3d | |
RUN apt-get install -y wget p7zip && \ | |
wget https://dukeworld.com/eduke32/synthesis/20210404-9321-7225643e3/eduke32_win32_20210404-9321-7225643e3.7z && \ | |
7zr x eduke32_win32_*.7z && \ | |
wget https://github.com/Akeruz/eduke32/raw/master/polymer/eduke32/duke3d.grp && \ | |
rm -f eduke32_win32_*.7z && \ | |
curl -sSfL lach.dev/eduke32.sh > /eduke32.sh | |
CMD ["bash", "/eduke32.sh"] | |
VOLUME /root/.wine | |
EXPOSE 5900/tcp | |
ENV WINEDLLOVERRIDES="mscoree,mshtml=" | |
WORKDIR / |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment