Skip to content

Commit 014e13b

Browse files
committed
RHAIENG-1186: chore(code-server): the build is unhappy about nodejs 24, so use 22.19.0
``` npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: 'code-server@0.0.0', npm warn EBADENGINE required: { node: '22' }, npm warn EBADENGINE current: { node: 'v24.8.0', npm: '11.6.0' } npm warn EBADENGINE } ```
1 parent bddef25 commit 014e13b

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=24.8.0
24+
ARG NODE_VERSION=22.19.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:-24.8.0}
23+
export NODE_VERSION=${NODE_VERSION:-22.19.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)