@@ -4,11 +4,19 @@ ENV INSTALL_LOCATION=/opt/space_engineers
4
4
ENV WINE_LOCATION=${INSTALL_LOCATION}/.wine64
5
5
ENV WORLD_NAME=CelestialFrontier
6
6
7
+ # Install dependencies
7
8
RUN apt-get update &&\
8
- apt-get install -y wine cabextract winbind wget xvfb libgl1-mesa-dri &&\
9
+ apt-get install -y cabextract winbind wget xvfb libgl1-mesa-dri &&\
9
10
apt-get clean && rm -rf /var/lib/apt/lists/*
10
11
11
- # Install the latest winetricks version
12
+ # Install the latest version of wine
13
+ RUN wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key &&\
14
+ wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources &&\
15
+ apt-get update &&\
16
+ apt-get install --install-recommends -y winehq-stable &&\
17
+ apt-get clean && rm -rf /var/lib/apt/lists/*
18
+
19
+ # Install the latest version of winetricks
12
20
RUN wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks &&\
13
21
chmod +x winetricks &&\
14
22
mv -v winetricks /usr/bin/
@@ -27,12 +35,12 @@ RUN mkdir -p ${HOME}/.steam/sdk64 &&\
27
35
./space_engineers.sh setup
28
36
29
37
# Install wine dependencies
30
- RUN Xvfb :1 -screen 0 1024x768x24 & DISPLAY=:1 WINEPREFIX="${WINE_LOCATION}" winetricks -q vcrun2019
38
+ RUN Xvfb :1 -screen 0 1024x768x24 & DISPLAY=:1 WINEPREFIX="${WINE_LOCATION}" winetricks -q dotnet48 vcrun2019
31
39
32
40
# Install Wine Mono
33
- RUN wget https://dl.winehq.org/wine/wine-mono/6 .4.0/wine-mono-6 .4.0-x86.msi &&\
34
- WINEPREFIX="${WINE_LOCATION}" wine64 msiexec /i wine-mono-6 .4.0-x86.msi &&\
35
- rm wine-mono-6 .4.0-x86.msi
41
+ RUN wget https://dl.winehq.org/wine/wine-mono/7 .4.0/wine-mono-7 .4.0-x86.msi &&\
42
+ WINEPREFIX="${WINE_LOCATION}" wine64 msiexec /i wine-mono-7 .4.0-x86.msi &&\
43
+ rm wine-mono-7 .4.0-x86.msi
36
44
37
45
# Install the space engineers dedicated server
38
46
RUN dedicated_server_location="${WINE_LOCATION}/drive_c/users/$(whoami)/Desktop/spaceengineers" &&\
0 commit comments