2018-12-15 17:06:49 +01:00
|
|
|
FROM zombi/steam:latest
|
2018-10-21 18:23:58 +02:00
|
|
|
|
2018-12-15 21:12:00 +01:00
|
|
|
ENV \
|
|
|
|
DST_CLUSTER_TOKEN=changeme \
|
|
|
|
DST_GAME_MODE=survival \
|
|
|
|
DST_MAX_PLAYERS=6 \
|
|
|
|
DST_PVP=false \
|
|
|
|
DST_PAUSE_WHEN_EMPTY=true \
|
|
|
|
DST_CLUSTER_DESCRIPTION=Don't\ Starve\ server \
|
|
|
|
DST_CLUSTER_NAME=Don't\ Starve\ Server \
|
|
|
|
DST_CLUSTER_INTENTION=cooperative
|
|
|
|
|
2018-04-15 21:40:50 +02:00
|
|
|
RUN dpkg --add-architecture i386
|
|
|
|
RUN apt-get update
|
2018-04-15 23:06:03 +02:00
|
|
|
RUN apt-get install -y libcurl4-gnutls-dev:i386
|
2018-04-15 21:40:50 +02:00
|
|
|
EXPOSE 11000 11000/udp 27018 27018/udp 8768
|
|
|
|
EXPOSE 8768/udp
|
2018-04-15 21:50:00 +02:00
|
|
|
COPY conf/ /home/steam/.klei/DoNotStarveTogether/Zom.bi
|
2018-04-15 21:40:50 +02:00
|
|
|
RUN chown -R steam ~steam
|
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
|
|
RUN chmod +xr /entrypoint.sh
|
|
|
|
USER steam
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|