From 91c5fa42a846d7439fb85eae390a941191931086 Mon Sep 17 00:00:00 2001 From: Connor Date: Sat, 7 Sep 2024 17:56:41 +0100 Subject: [PATCH] Fixes to steam locale and update policy --- docker/Dockerfile-steam | 7 +++++++ 1 file changed, 7 insertions(+) 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