aboutsummaryrefslogtreecommitdiff
path: root/.devcontainer/x86-64/Containerfile
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-05-17 15:22:39 +0000
committerFelix Morgner <felix.morgner@ost.ch>2026-05-17 15:23:34 +0000
commit504a0946f5813e65c2e40bcd08c525e65308ca79 (patch)
tree58717187b7d93400f16c379ff38501d39c1a351a /.devcontainer/x86-64/Containerfile
parent918b270c61383f9f2220e55226d385be49c82326 (diff)
downloadkernel-504a0946f5813e65c2e40bcd08c525e65308ca79.tar.xz
kernel-504a0946f5813e65c2e40bcd08c525e65308ca79.zip
ide: simplify devcontainer setup
Diffstat (limited to '.devcontainer/x86-64/Containerfile')
-rw-r--r--.devcontainer/x86-64/Containerfile31
1 files changed, 31 insertions, 0 deletions
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