Skip to content

Commit 61ca521

Browse files
committed
Added latest version of winetricks
1 parent a7bada8 commit 61ca521

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

spaceengineers/Dockerfile

+14-6
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,19 @@ ENV INSTALL_LOCATION=/opt/space_engineers
44
ENV WINE_LOCATION=${INSTALL_LOCATION}/.wine64
55
ENV WORLD_NAME=CelestialFrontier
66

7+
# Install dependencies
78
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 &&\
910
apt-get clean && rm -rf /var/lib/apt/lists/*
1011

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
1220
RUN wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks &&\
1321
chmod +x winetricks &&\
1422
mv -v winetricks /usr/bin/
@@ -27,12 +35,12 @@ RUN mkdir -p ${HOME}/.steam/sdk64 &&\
2735
./space_engineers.sh setup
2836

2937
# 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
3139

3240
# 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
3644

3745
# Install the space engineers dedicated server
3846
RUN dedicated_server_location="${WINE_LOCATION}/drive_c/users/$(whoami)/Desktop/spaceengineers" &&\

spaceengineers/space_engineers.sh

-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ setup) #run only once.
106106
show_spinner "Configuring WINE" $!
107107
#install dependencies
108108
install_dependency msxml4 "MSXML4"
109-
install_dependency dotnet472 ".NET Framework 4.7.2"
110109
install_dependency vcrun2013 "Visual 2013 C++"
111110
install_dependency vcrun2017 "Visual 2017 C++"
112111
install_dependency corefonts "COREFONTS"

0 commit comments

Comments
 (0)