From 504a0946f5813e65c2e40bcd08c525e65308ca79 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Sun, 17 May 2026 15:22:39 +0000 Subject: ide: simplify devcontainer setup --- .devcontainer/x86-64/Containerfile | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .devcontainer/x86-64/Containerfile (limited to '.devcontainer/x86-64/Containerfile') diff --git a/.devcontainer/x86-64/Containerfile b/.devcontainer/x86-64/Containerfile new file mode 100644 index 0000000..25f98cd --- /dev/null +++ b/.devcontainer/x86-64/Containerfile @@ -0,0 +1,31 @@ +FROM registry.gitlab.ost.ch:45023/teachos/devcontainers/x86-64:16.1.0-3-py3.14 + +RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install --yes --no-install-recommends \ + acpica-tools \ + clangd-22 \ + clang-tidy-22 \ + cmake \ + g++-16 \ + gcc-16 \ + gdb \ + git \ + git-lfs \ + grub2-common \ + grub-pc \ + mtools \ + ninja-build \ + python3-poetry \ + qemu-system-x86 \ + ssh \ + wget \ + xorriso + +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 && \ + update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-16 100 && \ + update-alternatives --install /usr/bin/gcc-ar gcc-ar /usr/bin/gcc-ar-16 100 && \ + update-alternatives --install /usr/bin/gcc-nm gcc-nm /usr/bin/gcc-nm-16 100 && \ + update-alternatives --install /usr/bin/gcc-ranlib gcc-ranlib /usr/bin/gcc-ranlib-16 100 && \ + update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-16 100 && \ + update-alternatives --install /usr/bin/clangd clangd /usr/bin/clangd-22 100 && \ + update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-22 100 -- cgit v1.2.3 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 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.devcontainer/x86-64/Containerfile') 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 && \ -- cgit v1.2.3 From 1279dddbf400828cbadb1b3774fb060d18d8251c Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Tue, 19 May 2026 12:48:19 +0200 Subject: ide: preinstall catch2 --- .devcontainer/x86-64/Containerfile | 1 + 1 file changed, 1 insertion(+) (limited to '.devcontainer/x86-64/Containerfile') diff --git a/.devcontainer/x86-64/Containerfile b/.devcontainer/x86-64/Containerfile index 87a33b8..eb03057 100644 --- a/.devcontainer/x86-64/Containerfile +++ b/.devcontainer/x86-64/Containerfile @@ -12,6 +12,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install --yes --no- git-lfs \ grub2-common \ grub-pc \ + libcatch2-dev \ locales \ mtools \ ninja-build \ -- cgit v1.2.3