Fixes to steam locale and update policy

This commit is contained in:
Connor 2024-09-07 17:56:41 +01:00
parent 025149c922
commit 91c5fa42a8

View File

@ -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