From aed70f20c5675c454b34fd387e41691e2ab1a140 Mon Sep 17 00:00:00 2001 From: j Date: Tue, 19 Aug 2025 07:37:10 +0000 Subject: [PATCH] fixes annoying locale message --- base/Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/base/Dockerfile b/base/Dockerfile index 2596aaf..a9aa0e8 100644 --- a/base/Dockerfile +++ b/base/Dockerfile @@ -6,6 +6,14 @@ ENV COLORTERM=truecolor # Update RUN pacman -Syu --noconfirm +## Before anything, avoid some annoying warnings +RUN pacman -Sy --noconfirm glibc && \ + echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen && \ + locale-gen + +ENV LANG=en_US.UTF-8 +ENV LC_ALL=en_US.UTF-8 + ## Configure non-root user RUN pacman -S --noconfirm sudo RUN useradd -m -s /bin/bash -G wheel x