Skip to content

An open-source, faster Devin alternative

TypeScript

upgrade node 22

Brian Reardoneea3e06de664
diff --git a/deploy/firecracker/rootfs/Dockerfile.default b/deploy/firecracker/rootfs/Dockerfile.default
index ed431a29..4f8f53a6 100644
--- a/deploy/firecracker/rootfs/Dockerfile.default
+++ b/deploy/firecracker/rootfs/Dockerfile.default
@@ -1,5 +1,5 @@
# Default rootfs for OpenSandbox Firecracker VMs
-# Includes Python 3, Node.js 20 LTS, build tools, and common utilities.
+# Includes Python 3, Node.js 22 LTS, build tools, and common utilities.
# Build: scripts/build-rootfs.sh default
FROM ubuntu:22.04
@@ -95,8 +95,8 @@ RUN ln -sf /usr/bin/python3 /usr/bin/python \
&& pip3 install --no-cache-dir --upgrade \
pip setuptools wheel
-# ── Node.js 20 LTS ──────────────────────────────────────────────────────────
-RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
+# ── Node.js 22 LTS ──────────────────────────────────────────────────────────
+RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
&& apt-get install -y --no-install-recommends nodejs \
&& rm -rf /var/lib/apt/lists/* \
&& npm install -g npm@latest
diff --git a/deploy/firecracker/rootfs/Dockerfile.node b/deploy/firecracker/rootfs/Dockerfile.node
index 3883a6da..8a542a92 100644
--- a/deploy/firecracker/rootfs/Dockerfile.node
+++ b/deploy/firecracker/rootfs/Dockerfile.node
@@ -31,8 +31,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
python3 \
&& rm -rf /var/lib/apt/lists/*
-# Install Node.js 20 LTS via NodeSource
-RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
+# Install Node.js 22 LTS via NodeSource
+RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
&& apt-get install -y nodejs \
&& rm -rf /var/lib/apt/lists/*