Skip to content

Instantly share code, notes, and snippets.

@lukaszlach
Last active November 4, 2020 21:34
Show Gist options
  • Save lukaszlach/6f17eb49aa5efb8b98b622e3c0902014 to your computer and use it in GitHub Desktop.
Save lukaszlach/6f17eb49aa5efb8b98b622e3c0902014 to your computer and use it in GitHub Desktop.
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/latest/eduke32_win32_20200907-9257-93f62bbad.7z \
&& 7zr x eduke32_win32_*.7z \
&& wget https://github.com/zear/eduke32/raw/master/polymer/eduke32/duke3d.grp \
&& rm -f eduke32_win32_*.7z
CMD ["bash", "/eduke32.sh"]
VOLUME /root/.wine
EXPOSE 5900/tcp
ENV WINEDLLOVERRIDES="mscoree,mshtml="
WORKDIR /
COPY eduke32.sh .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment