FROM ubuntu:22.04 RUN apt-get update RUN apt-get install -y wget cabextract 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/ubuntu/dists/jammy/winehq-jammy.sources RUN dpkg --add-architecture i386 RUN apt-get update RUN apt-get install -y winehq-stable xvfb RUN wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks \ -O /usr/local/bin/winetricks && chmod +x /usr/local/bin/winetricks ENV DISPLAY ":0" ENV WINEARCH "win32" RUN xvfb-run wine wineboot && xvfb-run --auto-servernum winetricks -q vcrun2010 dotnet472 directplay ADD giants_data /giants WORKDIR /giants ADD start.sh /giants ENTRYPOINT ./start.sh