File tree Expand file tree Collapse file tree 2 files changed +5
-11
lines changed
Expand file tree Collapse file tree 2 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ WORKDIR /opt
33
44# system stuff
55RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
6- RUN apt-get update && apt-get upgrade -y
7- RUN apt-get install -y locales
6+ RUN apt-get update && apt-get upgrade -y && apt-get install -y locales
87RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen
8+
99ENV LANG en_US.UTF-8
1010ENV LANGUAGE en_US:en
1111ENV LC_ALL en_US.UTF-8
@@ -14,9 +14,7 @@ ENV LC_ALL en_US.UTF-8
1414RUN apt-get install -y wget unzip ca-certificates xvfb xauth x11-utils software-properties-common gnupg
1515RUN wget -O - https://dl.winehq.org/wine-builds/winehq.key | gpg --dearmor -o /etc/apt/keyrings/winehq-archive.key -
1616RUN wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources
17- RUN dpkg --add-architecture i386
18- RUN apt-get update
19- RUN apt-get install -y --install-recommends winbind winehq-stable
17+ RUN dpkg --add-architecture i386 && apt-get update && apt-get install -y --install-recommends winbind winehq-stable && apt-get clean && rm -rf /var/lib/apt/lists/*
2018
2119ENV WINEDEBUG -all
2220ENV WINEARCH win64
@@ -30,10 +28,6 @@ RUN wineboot --init
3028COPY start-server.sh /opt/start-server.sh
3129RUN chmod +x /opt/start-server.sh
3230
33- # cleanup
34- RUN apt-get clean
35- RUN rm -rf /var/lib/apt/lists/*
36-
3731EXPOSE 27020/udp
3832EXPOSE 27015/udp
3933EXPOSE 27015/tcp
Original file line number Diff line number Diff line change @@ -15,6 +15,6 @@ services:
1515 - " 27015:27015/udp"
1616 - " 27015:27015/tcp"
1717 volumes :
18- - ./scumserver-data:/opt/scumserver
19- - ./steamcmd:/opt/steamcmd
18+ - ./scumserver-data:/opt/scumserver:z
19+ - ./steamcmd:/opt/steamcmd:z
2020 restart : unless-stopped
You can’t perform that action at this time.
0 commit comments