Merge pull request #44 from ConnorKirkpatrick/fix-locale

Fixes to steam locale and update policy
This commit is contained in:
norimicry 2024-09-26 12:49:17 -04:00 committed by GitHub
commit 4d1f3b0cf8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 && \ tar -xzvf steamcmd.tar.gz -C /data/steamcmd && \
cd /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 ## 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 ## it will cache up to here when you change the ENV VAR
ARG STEAM_GUARD ARG STEAM_GUARD