aboutsummaryrefslogtreecommitdiff
path: root/.devcontainer
diff options
context:
space:
mode:
Diffstat (limited to '.devcontainer')
-rw-r--r--.devcontainer/x86-64/Containerfile8
-rw-r--r--.devcontainer/x86-64/devcontainer.json5
2 files changed, 12 insertions, 1 deletions
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