diff --git a/docker/Dockerfile-steam b/docker/Dockerfile-steam index c840e9b..13647bd 100644 --- a/docker/Dockerfile-steam +++ b/docker/Dockerfile-steam @@ -25,6 +25,13 @@ RUN wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz tar -xzvf steamcmd.tar.gz -C /data/steamcmd && \ cd /data/steamcmd +## Generate en_US.UTF-8 locale require by steam incase missing +RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \ + dpkg-reconfigure --frontend=noninteractive locales + +## Update steam to prevent steamguard code timeout +RUN /data/steamcmd/steamcmd.sh +quit + ## Don't set the arg earlier, if you need to rebuild the container ## it will cache up to here when you change the ENV VAR ARG STEAM_GUARD