2018-09-23 10:13:38 +02:00
|
|
|
FROM ubuntu:18.04
|
|
|
|
|
|
|
|
EXPOSE 27015/udp 27015/tcp
|
|
|
|
|
|
|
|
ENV STEAM_PATH="/home/steam" \
|
|
|
|
SERVER_PATH="/home/steam/server" \
|
|
|
|
GROUP_ID=10000 \
|
|
|
|
USER_ID=10000 \
|
|
|
|
DOCKER_USER=steam
|
|
|
|
|
|
|
|
ENTRYPOINT ["./home/entrypoint.sh"]
|
|
|
|
|
|
|
|
COPY ["entrypoint.sh", "/home/"]
|
|
|
|
|
|
|
|
# removed dep. lib32gcc1 libtcmalloc-minimal4:i386 gdb
|
|
|
|
RUN dpkg --add-architecture i386 && \
|
|
|
|
apt-get update -y && \
|
2018-09-23 11:40:18 +02:00
|
|
|
apt-get install -y wget tar gzip ca-certificates lib32gcc1 lib32stdc++6 lib32ncurses5 lib32z1 locales lib32tinfo5 libtcmalloc-minimal4:i386 gdb && \
|
2018-09-23 10:13:38 +02:00
|
|
|
\
|
|
|
|
chmod a=rx /home/entrypoint.sh && \
|
|
|
|
ulimit -n 2048 && \
|
|
|
|
\
|
|
|
|
locale-gen en_US.UTF-8
|
|
|
|
|
2018-09-23 11:26:47 +02:00
|
|
|
USER "root:root"
|
2018-09-23 10:13:38 +02:00
|
|
|
|
2018-09-20 00:24:33 +02:00
|
|
|
VOLUME "$SERVER_PATH"
|