From a97d76d46f9820521bb4068542235b9d175037d8 Mon Sep 17 00:00:00 2001 From: Daniel Ceregatti Date: Fri, 21 Jun 2024 19:31:59 -0700 Subject: [PATCH] Add locales so steamcmd doesn't complain. --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index 6d21aef..b5b14fb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,10 +14,17 @@ RUN sed -i /etc/apt/sources.list.d/debian.sources -e 's/Components: main/Compone # Install only the necessary packages RUN apt-get update && apt-get -y upgrade && apt-get -y install --no-install-recommends \ + locales \ nano \ procps \ steamcmd +# Set the locale +RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen +ENV LANG en_US.UTF-8 +ENV LANGUAGE en_US:en +ENV LC_ALL en_US.UTF-8 + # Add steamcmd to the PATH ENV PATH="/usr/games:${PATH}"