Skip to content

Commit

Permalink
Make the locale a bit more variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Fullaxx committed Dec 27, 2024
1 parent aa9f631 commit 61ba4af
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ LABEL author="Brett Kuskie <[email protected]>"
# Set environment variables
ENV DEBIAN_FRONTEND=noninteractive
ENV WINDOWMANAGER=openbox
ENV LOCALE=en_US
ENV LANG=C

# ------------------------------------------------------------------------------
Expand Down Expand Up @@ -38,9 +39,9 @@ RUN apt-get update && \

# ------------------------------------------------------------------------------
# Configure locale
RUN echo "LC_ALL=en_US.UTF-8" >> /etc/environment && \
echo "LANG=en_US.UTF-8" > /etc/locale.conf && \
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && \
RUN echo "LC_ALL=${LOCALE}.UTF-8" >> /etc/environment && \
echo "LANG=${LOCALE}.UTF-8" > /etc/locale.conf && \
echo "${LOCALE}.UTF-8 UTF-8" >> /etc/locale.gen && \
locale-gen

# ------------------------------------------------------------------------------
Expand Down

0 comments on commit 61ba4af

Please sign in to comment.