1- FROM golang:1.24.1 -bookworm AS tools-builder
1+ FROM golang:1.24.4 -bookworm AS tools-builder
22
33COPY patcher patcher
44RUN go build -C patcher
@@ -12,30 +12,26 @@ ARG DEBIAN_FRONTEND="noninteractive"
1212RUN useradd -m steam && \
1313 echo steam steam/question select "I AGREE" | debconf-set-selections && \
1414 echo steam steam/license note '' | debconf-set-selections && \
15- apt-get update -y && \
16- apt-get upgrade -y && \
15+ apt-get update && \
16+ apt-get dist- upgrade -y && \
1717 apt-get install -y wget software-properties-common && \
18- add-apt-repository multiverse && \
1918 dpkg --add-architecture i386 && \
2019 mkdir -pm755 /etc/apt/keyrings && \
2120 wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key && \
2221 wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/noble/winehq-noble.sources && \
22+ wget -O /usr/local/bin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks && \
23+ chmod +x /usr/local/bin/winetricks && \
2324 apt-get update -y && \
24- apt-get install -y --install-recommends winehq-stable && \
25- apt-get install -y gdebi-core libgl1:i386 libglx-mesa0:i386 steam steamcmd winbind xvfb cabextract && \
26- apt-get remove -y --purge wget software-properties-common && \
25+ apt-get install -y --no-install-recommends steamcmd xvfb cabextract winehq-stable && \
26+ winecfg && \
27+ sleep 5 && \
28+ xvfb-run winetricks -q vcrun2022 && \
29+ rm -f /usr/local/bin/winetricks && \
30+ apt-get remove -y --purge wget xvfb cabextract software-properties-common && \
2731 apt-get clean autoclean && \
2832 apt-get autoremove -y && \
2933 rm -rf /var/lib/apt/lists/*
3034
31- RUN curl -sSfLO https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks && \
32- chmod +x winetricks && \
33- mv -v winetricks /usr/local/bin
34-
35- RUN winecfg && \
36- sleep 5 && \
37- xvfb-run winetricks -q vcrun2022
38-
3935RUN ln -s /usr/games/steamcmd /usr/bin/steamcmd
4036
4137VOLUME /server
0 commit comments