-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
35 lines (27 loc) · 1.08 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM jammsen/base:wine-stable-debian-bullseye
LABEL org.opencontainers.image.authors="Sebastian Schmidt, ToniMacaroni"
LABEL org.opencontainers.image.source="https://github.com/ToniMacaroni/docker-redloader-sotf-server"
ENV WINEPREFIX=/winedata/WINE64 \
WINEARCH=win64 \
WINEDEBUG=-all \
WINEDLLOVERRIDES="version=n,b" \
DISPLAY=:1.0 \
TIMEZONE=Europe/Berlin \
DEBIAN_FRONTEND=noninteractive \
PUID=0 \
PGID=0 \
ALWAYS_UPDATE_ON_START=1 \
USERDATA_PATH=/sonsoftheforest/userdata \
REDLOADER_VERSION="0.7.0"
VOLUME ["/sonsoftheforest", "/steamcmd", "/winedata"]
EXPOSE 8766/udp 27016/udp 9700/udp
RUN dpkg --add-architecture i386 \
&& apt-get update \
&& apt-get dist-upgrade -y \
&& apt-get install -y --no-install-recommends --no-install-suggests lib32gcc-s1 nano winbind xvfb unzip \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
COPY . ./
RUN ln -snf /usr/share/zoneinfo/$TIMEZONE /etc/localtime \
&& echo $TIMEZONE > /etc/timezone \
&& chmod +x /usr/bin/steamcmdinstaller.sh /usr/bin/servermanager.sh
CMD ["servermanager.sh"]