Add locales so steamcmd doesn't complain.

This commit is contained in:
Daniel Ceregatti 2024-06-21 19:31:59 -07:00
parent 12e6306833
commit a97d76d46f

View file

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