-
Notifications
You must be signed in to change notification settings - Fork 46
/
Dockerfile
32 lines (24 loc) · 1006 Bytes
/
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
FROM jammsen/base:wine-stable-debian-bullseye
LABEL maintainer="Sebastian Schmidt"
ENV WINEPREFIX=/winedata/WINE64 \
WINEARCH=win64 \
DISPLAY=:1.0 \
TIMEZONE=Europe/Berlin \
DEBIAN_FRONTEND=noninteractive \
PUID=0 \
PGID=0 \
SERVER_STEAM_ACCOUNT_TOKEN="" \
ALWAYS_UPDATE_ON_START=1
VOLUME ["/theforest", "/steamcmd", "/winedata"]
EXPOSE 8766/tcp 8766/udp 27015/tcp 27015/udp 27016/tcp 27016/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 supervisor winbind xvfb \
&& apt-get install -y --no-install-recommends --no-install-suggests lib32gcc-s1 nano winbind xvfb \
&& 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"]