-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
35 lines (31 loc) · 991 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
33
34
35
FROM cm2network/steamcmd:root
LABEL maintainer="[email protected]"
RUN dpkg --add-architecture i386; apt-get update; apt-get upgrade -y; apt-get install --no-install-recommends -y \
libgcc1 \
lib32stdc++6 \
libicu-dev \
wget \
&& apt-get clean autoclean \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
ENV MOUNTPATH=/barotrauma \
GAMEPATH=/home/steam/server/barotrauma \
ENTRYSCRIPT=${SCRIPTPATH}/dockerful-entry.sh \
SERVERNAME= \
PASSWORD= \
PUBLICITY= \
LANGUAGE= \
PORT= \
QUERYPORT= \
OWNER_STEAMNAME= \
OWNER_STEAMID= \
MAX_PLAYERS= \
INSTALL_LUA=
ENV SAVEPATH="${GAMEPATH}/Daedalic Entertainment GmbH/Barotrauma/Multiplayer" \
MODPATH="${GAMEPATH}/LocalMods" \
SCRIPTPATH=${GAMEPATH}/scripts
COPY ./scripts/* /home/steam/server/
RUN chmod +x /home/steam/server/init.sh /home/steam/server/start.sh
WORKDIR /home/steam/server
EXPOSE 27015 27016
ENTRYPOINT ["/home/steam/server/init.sh"]