From cb61eb0c7a2b259ebedeca78ce604742d4bbc0e8 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 18 May 2026 13:14:49 +0200 Subject: ide: fix box character rendering in devcontainer --- .devcontainer/x86-64/Containerfile | 8 +++++++- .devcontainer/x86-64/devcontainer.json | 5 +++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.devcontainer/x86-64/Containerfile b/.devcontainer/x86-64/Containerfile index 25f98cd..87a33b8 100644 --- a/.devcontainer/x86-64/Containerfile +++ b/.devcontainer/x86-64/Containerfile @@ -12,13 +12,19 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install --yes --no- git-lfs \ grub2-common \ grub-pc \ + locales \ mtools \ ninja-build \ python3-poetry \ qemu-system-x86 \ ssh \ wget \ - xorriso + xorriso \ + && rm -rf /var/lib/apt/lists/* + +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-locale LANG=en_US.UTF-8 RUN update-alternatives --install /usr/bin/cpp cpp /usr/bin/cpp-16 100 && \ update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-16 100 && \ diff --git a/.devcontainer/x86-64/devcontainer.json b/.devcontainer/x86-64/devcontainer.json index ebfe64d..dc70596 100644 --- a/.devcontainer/x86-64/devcontainer.json +++ b/.devcontainer/x86-64/devcontainer.json @@ -20,5 +20,10 @@ }, "containerEnv": { "DEBUGINFOD_URLS": "NOSUCHURL" + }, + "remoteEnv": { + "LANG": "en_US.UTF-8", + "LC_ALL": "en_US.UTF-8", + "TERM": "xterm-256color" } } \ No newline at end of file -- cgit v1.2.3