diff --git a/README.md b/README.md index e3c6c2c..0d6c681 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ The C++ toolchain the Void research projects (Engine, Build-System, Library) use is already installed in `linux-native` and `vulkan`: - GCC 16 (C++26 with `-freflection`), CMake 4, Ninja, `pkg-config`, ccache +- Node.js and npm (for the TypeScript/web projects) - Boost, OpenSSL, SQLite, libsodium, libarchive, FreeType, GLFW, GoogleTest - Vulkan headers, loader, validation layers, tools, glslang, shaderc, Slang - Mesa with RADV (AMD hardware) and lavapipe (software Vulkan) diff --git a/images/linux-native/Dockerfile b/images/linux-native/Dockerfile index cbe5673..af8b1ec 100644 --- a/images/linux-native/Dockerfile +++ b/images/linux-native/Dockerfile @@ -33,6 +33,10 @@ RUN pacman -S --noconfirm --needed \ zip unzip jq curl ca-certificates \ && pacman -Scc --noconfirm +RUN pacman -S --noconfirm --needed \ + nodejs npm \ + && pacman -Scc --noconfirm + RUN git config --system --add safe.directory '*' \ && useradd --create-home --shell /bin/bash builder \ && mkdir -p /var/cache/ccache \ diff --git a/images/nixos/Dockerfile b/images/nixos/Dockerfile index 3616876..698a0ba 100644 --- a/images/nixos/Dockerfile +++ b/images/nixos/Dockerfile @@ -20,6 +20,8 @@ RUN printf '%s\n' \ >>/etc/nix/nix.conf \ && git config --global --add safe.directory '*' +RUN nix profile install nixpkgs#nodejs + ENV NIX_CONFIG="experimental-features = nix-command flakes" WORKDIR /workspace diff --git a/images/vulkan/Dockerfile b/images/vulkan/Dockerfile index eab6c4b..71e27f3 100644 --- a/images/vulkan/Dockerfile +++ b/images/vulkan/Dockerfile @@ -42,6 +42,10 @@ RUN pacman -S --noconfirm --needed \ zip unzip jq curl ca-certificates xorg-server-xvfb \ && pacman -Scc --noconfirm +RUN pacman -S --noconfirm --needed \ + nodejs npm \ + && pacman -Scc --noconfirm + RUN git config --system --add safe.directory '*' \ && useradd --create-home --shell /bin/bash builder \ && mkdir -p /var/cache/ccache \ diff --git a/images/windows-clang/Dockerfile b/images/windows-clang/Dockerfile index 8b79e08..d3e1c3a 100644 --- a/images/windows-clang/Dockerfile +++ b/images/windows-clang/Dockerfile @@ -23,6 +23,7 @@ ENV DEBIAN_FRONTEND=noninteractive \ RUN apt-get update \ && apt-get install -y --no-install-recommends \ cmake ninja-build pkg-config git ca-certificates \ + nodejs npm \ zip unzip jq curl \ && rm -rf /var/lib/apt/lists/* diff --git a/images/windows-gcc/Dockerfile b/images/windows-gcc/Dockerfile index d0c45dd..54c444c 100644 --- a/images/windows-gcc/Dockerfile +++ b/images/windows-gcc/Dockerfile @@ -48,6 +48,10 @@ RUN pacman -S --noconfirm --needed \ wine xorg-server-xvfb jq curl ca-certificates \ && pacman -Scc --noconfirm +RUN pacman -S --noconfirm --needed \ + nodejs npm \ + && pacman -Scc --noconfirm + # The Vulkan headers are OS-independent; make them visible to the MinGW compiler. RUN cp -a /usr/include/vulkan /usr/x86_64-w64-mingw32/include/ \ && git config --system --add safe.directory '*' \