init
This commit is contained in:
commit
929527359c
23
Dockerfile
Normal file
23
Dockerfile
Normal file
@ -0,0 +1,23 @@
|
||||
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
|
5
start.sh
Executable file
5
start.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
xvfb-run --auto-servernum wine regedit nullrenderer.reg
|
||||
xvfb-run --auto-servernum winetricks -f directplay
|
||||
|
||||
WINEDEBUG="+dpnet" xvfb-run --auto-servernum wine GiantsDedicated.exe -noplay -nostream -dedicated current.gdf 2>&1 | grep -v "Zero length vector"
|
Loading…
Reference in New Issue
Block a user