mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-11 22:50:06 +00:00
build: Move the n8n-pc image onto n8nio/node-pc:26.10.0 (#40642)
This commit is contained in:
@@ -25,7 +25,7 @@ on:
|
||||
type: boolean
|
||||
|
||||
env:
|
||||
NODE_VERSION: '26.7.0'
|
||||
NODE_VERSION: '26.10.0'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
@@ -15,10 +15,10 @@ variable "BUILDER_IMAGE" { default = "" }
|
||||
variable "RUNTIME_IMAGE" { default = "" }
|
||||
|
||||
variable "PC_BUILDER_IMAGE" {
|
||||
default = "n8nio/node-pc:26.7.0-dev@sha256:c64642dcb9464e50bd08aef8504affafeb795d01aed2f7ab158976c334a36ef6"
|
||||
default = "n8nio/node-pc:26.10.0-dev@sha256:61e4b1f3b3824ffb908812e01bcbddabb64a01ef23d408d561696c344c6679e3"
|
||||
}
|
||||
variable "PC_RUNTIME_IMAGE" {
|
||||
default = "n8nio/node-pc:26.7.0@sha256:6577d0742ad043baaa39db7dda2ce8aeb73f32c84eb241c49bf716f170c53297"
|
||||
default = "n8nio/node-pc:26.10.0@sha256:386bae24d41c0091d21b4eee124a86464710fff24d5cb7f37386c4c5649b0c89"
|
||||
}
|
||||
|
||||
variable "DHI_REF" {
|
||||
|
||||
@@ -10,14 +10,14 @@
|
||||
# dev - plain Alpine with apk usable, for the n8n builder
|
||||
# stage, which must compile native addons against this
|
||||
# Node's headers
|
||||
ARG NODE_VERSION=26.7.0
|
||||
ARG NODE_VERSION=26.10.0
|
||||
# Compiling V8 needs 1.5-2 GB of memory per parallel job. Lower this on
|
||||
# builders whose memory-to-core ratio cannot cover all cores.
|
||||
ARG MAKE_JOBS=
|
||||
|
||||
# Pinned to a multi-arch index digest (linux/amd64 + linux/arm64) for reproducible builds.
|
||||
# Bump the tag and digest together when updating.
|
||||
FROM alpine:3.24@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b AS builder
|
||||
FROM alpine:3.24@sha256:294b683cb724975bec92580e1e685676bd4b50bda910ddb8c51d4cabeaec77e6 AS builder
|
||||
ARG NODE_VERSION
|
||||
ARG MAKE_JOBS
|
||||
|
||||
@@ -70,7 +70,7 @@ RUN apk add --no-cache --virtual .build-deps \
|
||||
# Remove unused OpenSSL headers to save ~34MB. See https://github.com/nodejs/node/issues/46451
|
||||
&& find /node-install/usr/local/include/node/openssl/archs -mindepth 1 -maxdepth 1 ! -name "$OPENSSL_ARCH" -exec rm -rf {} \;
|
||||
|
||||
FROM alpine:3.24@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b AS base
|
||||
FROM alpine:3.24@sha256:294b683cb724975bec92580e1e685676bd4b50bda910ddb8c51d4cabeaec77e6 AS base
|
||||
|
||||
RUN addgroup -g 1000 node \
|
||||
&& adduser -u 1000 -G node -s /bin/sh -D node \
|
||||
@@ -90,7 +90,7 @@ ENV npm_config_nodedir=/usr/local
|
||||
# npx, corepack) are swapped for the pointer-compressed build's files.
|
||||
# Pinned to a multi-arch index digest (linux/amd64 + linux/arm64) for reproducible builds.
|
||||
# Bump the tag and digest together when updating.
|
||||
FROM n8nio/base:26.7.0@sha256:33687300c4e94dc00f42ec79ae15082ae07330ecd82ae1167125905b65908ff8 AS runtime
|
||||
FROM n8nio/base:26.10.0@sha256:9205c76a7745bfe71de35c2a0b7420238ccb0bdf69fc5273ab2e617fe918cf5f AS runtime
|
||||
|
||||
RUN rm -f /usr/bin/node /usr/bin/nodejs /usr/bin/npm /usr/bin/npx /usr/bin/corepack /usr/local/bin/node
|
||||
COPY --from=builder /node-install/usr/local /usr/local
|
||||
|
||||
Reference in New Issue
Block a user