This commit is contained in:
Lucas Briese 2018-09-25 12:09:10 +02:00
parent 3d34e8b44a
commit 7a1ccdf67a

View File

@ -6,7 +6,9 @@ ENV STEAM_PATH="/home/steam" \
SERVER_PATH="/home/steam/server" \ SERVER_PATH="/home/steam/server" \
GROUP_ID=10000 \ GROUP_ID=10000 \
USER_ID=10000 \ USER_ID=10000 \
DOCKER_USER=steam DOCKER_USER=steam \
\
DEBIAN_FRONTEND="noninteractive"
ENTRYPOINT ["./home/entrypoint.sh"] ENTRYPOINT ["./home/entrypoint.sh"]
CMD ["-game", "garrysmod", "+gamemode", "sandbox", "+map", "gm_flatgrass"] CMD ["-game", "garrysmod", "+gamemode", "sandbox", "+map", "gm_flatgrass"]
@ -15,13 +17,14 @@ COPY ["entrypoint.sh", "/home/"]
# removed dep. lib32gcc1 libtcmalloc-minimal4:i386 gdb libreadline5 # removed dep. lib32gcc1 libtcmalloc-minimal4:i386 gdb libreadline5
RUN dpkg --add-architecture i386 && \ RUN dpkg --add-architecture i386 && \
apt-get update -y && apt-get upgrade -y && \ apt-get update -y && \
apt-get install -y wget tar gzip ca-certificates locales && \ apt-get install -y mailutils postfix curl wget file bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux lib32gcc1 libstdc++6 libstdc++6:i386 lib32tinfo5 && \
apt-get install -y postfix curl wget file bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux lib32gcc1 libstdc++6 libstdc++6:i386 lib32tinfo5 && \ locales \
apt-get install -y gcc lib32stdc++6 gdb net-tools lib32z1 zlib1g zlibc curl && \ \
chmod a=rx /home/entrypoint.sh && \ chmod a=rx /home/entrypoint.sh && \
\ \
locale-gen en_US.UTF-8 locale-gen en_US.UTF-8 && \
wget -O linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh gmodserver
USER "root:root" USER "root:root"