From f48a3fb4531330172c35f8ef66124b669b64677c Mon Sep 17 00:00:00 2001 From: Benjamin Reigner Date: Wed, 4 Nov 2020 22:29:43 +0100 Subject: [PATCH] Modified outdated package, url and field steamcmd doesn't require lib32stdc++6 today so it has been removed from the packages installed The download url for steamcmd has been changed on valve's website so I updated it in the Dockerfile The field MAINTAINER doesn't exist anymore and has been replaced by LABEL which I've done --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index bb03457..5b8433e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM ubuntu:18.04 -MAINTAINER Max Gonzih +LABEL Name="Max Gonzih" +LABEL Mail="gonzih@gmail.com" ENV USER csgo ENV HOME /home/$USER @@ -7,7 +8,7 @@ ENV SERVER $HOME/hlserver RUN apt-get -y update \ && apt-get -y upgrade \ - && apt-get -y install lib32gcc1 curl net-tools lib32stdc++6 locales \ + && apt-get -y install lib32gcc1 curl net-tools locales \ && locale-gen en_US.UTF-8 \ && update-locale LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_ALL=en_US.UTF-8 \ && dpkg-reconfigure --frontend=noninteractive locales \ @@ -30,11 +31,11 @@ ADD ./csgo.sh $SERVER/csgo.sh RUN chown -R $USER:$USER $SERVER USER $USER -RUN curl http://media.steampowered.com/client/steamcmd_linux.tar.gz | tar -C $SERVER -xvz \ +RUN curl https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz | tar -C $SERVER -xvz \ && $SERVER/update.sh EXPOSE 27015/udp -WORKDIR /home/$USER/hlserver +WORKDIR ${SERVER} ENTRYPOINT ["./csgo.sh"] CMD ["-console" "-usercon" "+game_type" "0" "+game_mode" "1" "+mapgroup" "mg_active" "+map" "de_cache"]