mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-17 05:29:44 +02:00
build: Move the n8n and runners images onto n8nio/base:26.7.0 (#36990)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c33906903a
commit
3beab6e07e
2
.github/workflows/build-node-pc-image.yml
vendored
2
.github/workflows/build-node-pc-image.yml
vendored
|
|
@ -25,7 +25,7 @@ on:
|
|||
type: boolean
|
||||
|
||||
env:
|
||||
NODE_VERSION: '26.5.1'
|
||||
NODE_VERSION: '26.7.0'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
|
|||
2
.github/workflows/docker-build-push.yml
vendored
2
.github/workflows/docker-build-push.yml
vendored
|
|
@ -8,7 +8,7 @@ run-name: "${{ github.event_name == 'workflow_dispatch' && format('Docker: Build
|
|||
|
||||
env:
|
||||
NODE_OPTIONS: '--max-old-space-size=7168'
|
||||
NODE_VERSION: '26.5.1'
|
||||
NODE_VERSION: '26.7.0'
|
||||
|
||||
on:
|
||||
schedule:
|
||||
|
|
|
|||
2
.github/workflows/docker-build-smoke.yml
vendored
2
.github/workflows/docker-build-smoke.yml
vendored
|
|
@ -12,7 +12,7 @@ env:
|
|||
# The images copy native bindings from the host build, so both have to use the same
|
||||
# Node. dockerize-n8n.mjs reads this env for the image builds. Keep in sync with
|
||||
# NODE_VERSION in docker-build-push.yml, which is what the published images use.
|
||||
NODE_VERSION: '26.5.1'
|
||||
NODE_VERSION: '26.7.0'
|
||||
|
||||
on:
|
||||
schedule:
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
ARG NODE_VERSION=26.5.1
|
||||
ARG NODE_VERSION=26.7.0
|
||||
ARG N8N_VERSION=snapshot
|
||||
|
||||
# The digest pins node:26.5.1-alpine3.24 for amd64 and arm64. Change the tag and the digest together.
|
||||
ARG BUILDER_IMAGE=node:26.5.1-alpine3.24@sha256:233761595746769ebfdb6090f44fc7cdf818ae0ce62d2b37e0367723b9823e36
|
||||
ARG RUNTIME_IMAGE=n8nio/base:26.5.1@sha256:1b0bca5c94bbd04ad2120b9e9892a8bc717a1d88efa76fefe452c59bdc611d25
|
||||
# The digest pins node:26.7.0-alpine3.24 for amd64 and arm64. Change the tag and the digest together.
|
||||
ARG BUILDER_IMAGE=node:26.7.0-alpine3.24@sha256:aadf416b2cdce311a8811ba3f0608a61b77dbf997500e2eafe781b51f6a0b019
|
||||
ARG RUNTIME_IMAGE=n8nio/base:26.7.0@sha256:33687300c4e94dc00f42ec79ae15082ae07330ecd82ae1167125905b65908ff8
|
||||
|
||||
# The runtime base has no compiler, so this stage supplies one.
|
||||
FROM ${BUILDER_IMAGE} AS toolchain
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
# 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.5.1
|
||||
ARG NODE_VERSION=26.7.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=
|
||||
|
|
@ -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.5.1@sha256:1b0bca5c94bbd04ad2120b9e9892a8bc717a1d88efa76fefe452c59bdc611d25 AS runtime
|
||||
FROM n8nio/base:26.7.0@sha256:33687300c4e94dc00f42ec79ae15082ae07330ecd82ae1167125905b65908ff8 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
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ARG NODE_VERSION=26.5.1
|
||||
ARG NODE_VERSION=26.7.0
|
||||
ARG PNPM_VERSION=11.22.0
|
||||
ARG PYTHON_VERSION=3.13
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
# - Uses distroless nonroot user (UID 65532)
|
||||
# ==============================================================================
|
||||
|
||||
ARG NODE_VERSION=26.5.1
|
||||
ARG NODE_VERSION=26.7.0
|
||||
ARG PNPM_VERSION=11.22.0
|
||||
ARG PYTHON_VERSION=3.13
|
||||
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@ const noCache = process.env.DOCKER_BUILD_NO_CACHE === 'true';
|
|||
const withBaseImage = process.env.DOCKER_BUILD_BASE_IMAGE === 'true';
|
||||
// Keep in sync with NODE_VERSION in .github/workflows/docker-build-push.yml,
|
||||
// which is what the published images are actually built with.
|
||||
const nodeVersion = process.env.NODE_VERSION || '26.5.1';
|
||||
const nodeVersion = process.env.NODE_VERSION || '26.7.0';
|
||||
|
||||
const config = {
|
||||
base: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user