Skip to content

Commit 377fd05

Browse files
committed
RHAIENG-1186: chore(code-server): update nodejs to a compatible version
Choosing 2.24 because we're building for RHOAI 2.25 EUS. ``` > code-oss-dev@1.104.0 preinstall > node build/npm/preinstall.js *** Please use Node.js v22.15.1 or later for development. /root/code-server/lib/vscode/build/npm/preinstall.js:14 ```
1 parent d682d74 commit 377fd05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

codeserver/ubi9-python-3.12/Dockerfile.cpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ COPY --from=registry.access.redhat.com/ubi9/ubi /etc/yum.repos.d/ubi.repo /etc/y
2121

2222
ARG CODESERVER_SOURCE_CODE=codeserver/ubi9-python-3.12
2323

24-
ARG NODE_VERSION=20
24+
ARG NODE_VERSION=24.8.0
2525

2626
ARG CODESERVER_VERSION=v4.104.0
2727

codeserver/ubi9-python-3.12/get_code_server_rpm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ARCH="${UNAME_TO_GOARCH[$(uname -m)]}"
2020
if [[ "$ARCH" == "amd64" || "$ARCH" == "arm64" ||"$ARCH" == "ppc64le" ]]; then
2121

2222
export MAX_JOBS=${MAX_JOBS:-$(nproc)}
23-
export NODE_VERSION=${NODE_VERSION:-20}
23+
export NODE_VERSION=${NODE_VERSION:-24.8.0}
2424
export CODESERVER_VERSION=${CODESERVER_VERSION:-v4.104.0}
2525

2626
export NVM_DIR=/root/.nvm VENV=/opt/.venv

0 commit comments

Comments
 (0)