The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Bump Node to 24.22.1 (#28559)
Paul Rastoin30b1278ef6ec
diff --git a/.nvmrc b/.nvmrcindex b832e4001db..ce62013c39a 100644--- a/.nvmrc+++ b/.nvmrc@@ -1 +1 @@-24.16.0+24.22.1diff --git a/packages/twenty-docker/twenty/Dockerfile b/packages/twenty-docker/twenty/Dockerfileindex ce33ca0a8c0..8ce81cb7936 100644--- a/packages/twenty-docker/twenty/Dockerfile+++ b/packages/twenty-docker/twenty/Dockerfile@@ -1,8 +1,20 @@+ARG TARGETARCH++# ===========================================================================+# Base image+# ===========================================================================++# Per-arch repos until the multi-arch node:24.22.1-alpine3.23 index is published+FROM amd64/node:24.22.1-alpine3.23@sha256:fdff1a7a39ca25677049cea557922827b3668b2aa94d80e3fde0fb751a769998 AS node-base-amd64+FROM arm64v8/node:24.22.1-alpine3.23@sha256:73d1822fb892643f4cbec60d7c7cc47775ecd5f128198302cd3f508f0878c4a9 AS node-base-arm64+FROM s390x/node:24.22.1-alpine3.23@sha256:167260a1ace21f357590810d5d2e1fcacf446089ab88a3592b816705dd5387b0 AS node-base-s390x+FROM node-base-${TARGETARCH} AS node-base+# ===========================================================================# Dependency stages# ===========================================================================-FROM node:24.19.0-alpine3.23@sha256:244cc2b53f46f9e876304391d17682b0ddae9ac33491f4857e25e35a36ba7995 AS front-deps+FROM node-base AS front-depsWORKDIR /app@@ -20,7 +32,7 @@ COPY ./packages/twenty-client-sdk/package.json /app/packages/twenty-client-sdk/RUN yarn workspaces focus twenty-monorepo twenty-front twenty-front-component-renderer twenty-ui twenty-shared twenty-sdk twenty-client-sdk && yarn cache clean && npx nx reset-FROM node:24.19.0-alpine3.23@sha256:244cc2b53f46f9e876304391d17682b0ddae9ac33491f4857e25e35a36ba7995 AS server-deps+FROM node-base AS server-depsWORKDIR /app@@ -85,7 +97,7 @@ RUN if [ -d /app/packages/twenty-front/build ]; then \# docker build --target twenty-server -f packages/twenty-docker/twenty/Dockerfile .# ===========================================================================-FROM node:24.19.0-alpine3.23@sha256:244cc2b53f46f9e876304391d17682b0ddae9ac33491f4857e25e35a36ba7995 AS twenty-server+FROM node-base AS twenty-server# Force the patched Alpine OpenSSL libs to the fixed release (3.5.8-r0 clears# CVE-2026-14456/14457/18798/54874/63072/63075/63076). Node bundles its own@@ -145,12 +157,10 @@ LABEL org.opencontainers.image.description="Twenty server image (no frontend)."# - the Node dev headers: only node-gyp needs them and native addons are# compiled in the build stages; their vendored openssl/opensslv.h is what# scanners fingerprint whenever OpenSSL patches ahead of Node releases.-# The pinned node:24.19.0-alpine base carries the July 2026 security fixes-# (CVE-2026-56846/56848/58043, all fixed in 24.18.1) plus the 24.18.0 fix for-# the http.Agent keep-alive regression (nodejs/node#64004) that flooded prod-# with false "Premature close" fetch failures on 24.17.0 (see #22671/#22673).-# Do not pin below 24.18.0 again.-# Keep the base current when Node ships 24.x security releases — the scanner+# The pinned node:24.22.1-alpine base carries the October 2026 security fixes.+# Do not pin below 24.18.0: 24.17.0's http.Agent keep-alive regression+# (nodejs/node#64004) flooded prod with false "Premature close" fetch failures.+# Keep the base current when Node ships 24.x security releases; the scanner# flags the statically-linked node binary itself.RUN rm -rf /usr/local/lib/node_modules/npm /usr/local/bin/npm /usr/local/bin/npx \/usr/local/include/node && \@@ -228,7 +238,7 @@ RUN S6_ARCH=$(cat /tmp/s6arch) && \FROM clickhouse/clickhouse-server:25.8.8-alpine@sha256:68b9d9eb4cb949a03d1f90b76fd8d396a5999dd57ba1ee914ea36c77716ce937 AS clickhouse-FROM node:24.19.0-alpine3.23@sha256:244cc2b53f46f9e876304391d17682b0ddae9ac33491f4857e25e35a36ba7995 AS twenty-app-dev+FROM node-base AS twenty-app-dev# s6-overlayCOPY --from=s6-fetch /tmp/s6-overlay-noarch.tar.xz /tmp/