~ working on custom args

This commit is contained in:
Lucas Briese
2018-09-25 20:15:40 +02:00
parent a67dc17a6f
commit 6d3a8fff6c
6 changed files with 252 additions and 7 deletions

View File

@ -4,6 +4,7 @@ EXPOSE 27015/udp 27015/tcp
ENV STEAM_PATH="/home/steam" \
SERVER_PATH="/home/steam/serverfiles" \
STEAM_CMD="/home/steam/steamcmd" \
GROUP_ID=10000 \
USER_ID=10000 \
DOCKER_USER=steam \
@ -24,7 +25,7 @@ ENV STEAM_PATH="/home/steam" \
ENTRYPOINT ["./home/entrypoint.sh"]
COPY ["entrypoint.sh", "/home/"]
COPY ["entrypoint.sh", "experimental.sh", "forceWorkshopDownload.sh", "installAndMountAddons.sh", "/home/"]
# removed dep. lib32gcc1 libtcmalloc-minimal4:i386 gdb
RUN dpkg --add-architecture i386 && \
@ -38,6 +39,9 @@ RUN dpkg --add-architecture i386 && \
sudo -u "$DOCKER_USER" mkdir -p "$SERVER_PATH" && \
chown -R "$DOCKER_USER:$DOCKER_USER" "$STEAM_PATH" && \
chmod a=rx /home/entrypoint.sh && \
chmod a=rx /home/experimental.sh && \
chmod a=rx /home/forceWorkshopDownload.sh && \
chmod a=rx /home/installAndMountAddons.sh && \
\
ulimit -n 2048 && \
locale-gen en_US.UTF-8 && \