diff --git a/Dockerfile b/Dockerfile index d4f3324..fa412ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,9 @@ ENV STEAM_PATH="/home/steam" \ SERVER_PATH="/home/steam/server" \ GROUP_ID=10000 \ USER_ID=10000 \ - DOCKER_USER=steam + DOCKER_USER=steam \ + \ + DEBIAN_FRONTEND="noninteractive" ENTRYPOINT ["./home/entrypoint.sh"] CMD ["-game", "garrysmod", "+gamemode", "sandbox", "+map", "gm_flatgrass"] @@ -15,13 +17,14 @@ COPY ["entrypoint.sh", "/home/"] # removed dep. lib32gcc1 libtcmalloc-minimal4:i386 gdb libreadline5 RUN dpkg --add-architecture i386 && \ - apt-get update -y && apt-get upgrade -y && \ - apt-get install -y wget tar gzip ca-certificates locales && \ - 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 && \ - apt-get install -y gcc lib32stdc++6 gdb net-tools lib32z1 zlib1g zlibc curl && \ + apt-get update -y && \ + 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 && \ + locales \ + \ 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"