From b8aaa183517871f93edd67c9621bc8e5d1db01e8 Mon Sep 17 00:00:00 2001 From: Ben Hardill Date: Sun, 27 Jul 2025 10:31:17 +0100 Subject: [PATCH 1/2] Bump debian to Bookworm --- .docker/Dockerfile.debian | 2 +- docker-custom/Dockerfile.debian | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.docker/Dockerfile.debian b/.docker/Dockerfile.debian index 935bd636..7e443a7f 100644 --- a/.docker/Dockerfile.debian +++ b/.docker/Dockerfile.debian @@ -1,5 +1,5 @@ ARG NODE_VERSION=20 -ARG OS=bullseye-slim +ARG OS=bookworm-slim #### Stage BASE ######################################################################################################## FROM node:${NODE_VERSION}-${OS} AS base diff --git a/docker-custom/Dockerfile.debian b/docker-custom/Dockerfile.debian index 57db5781..2c3c69bf 100644 --- a/docker-custom/Dockerfile.debian +++ b/docker-custom/Dockerfile.debian @@ -1,6 +1,6 @@ ARG ARCH=amd64 ARG NODE_VERSION=20 -ARG OS=bullseye-slim +ARG OS=bookworm-slim #### Stage BASE ######################################################################################################## FROM ${ARCH}/node:${NODE_VERSION}-${OS} AS base From 65924a54a9c7470be4b8fea38fd7a1d4316a1389 Mon Sep 17 00:00:00 2001 From: Ben Hardill Date: Sat, 23 May 2026 15:56:19 +0100 Subject: [PATCH 2/2] Tidy up dev for merging into master for 5.0.0 release --- README.md | 26 +++++++++++++++----------- docker-custom/README.md | 4 ++-- docker-custom/docker-alpine.sh | 2 +- docker-custom/docker-debian.sh | 2 +- 4 files changed, 19 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 90150630..eba99392 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Running that command should give a terminal window with a running instance of No Welcome to Node-RED =================== - 10 Oct 12:57:10 - [info] Node-RED version: v5.0.0-beta.6 + 10 Oct 12:57:10 - [info] Node-RED version: v5.0.0 10 Oct 12:57:10 - [info] Node.js version: v24.11.1 10 Oct 12:57:10 - [info] Linux 6.17.5-200.fc42.x86_64 x64 LE 10 Oct 12:57:11 - [info] Loading palette nodes @@ -114,13 +114,16 @@ Using Alpine Linux reduces the built image size, but removes standard dependenci The following table shows the variety of provided Node-RED images. -| **Tag** |**Node**| **Arch** | **Python** |**Dev**| **Base Image** | -|----------------------------|--------|----------|------------|-------|----------------------------| -| 5.0.0-beta.6-24 | 24 | amd64 | 3.x | yes | amd64/node:24-alpine | -| | 24 | arm64v8 | 3.x | yes | arm64v8/node:24-alpine | -| | | | | | | -| 5.0.0-beta.6-24-minimal | 24 | amd64 | no | no | amd64/node:24-alpine | -| | 24 | arm64v8 | no | no | arm64v8/node:24-alpine | +| **Tag** |**Node**| **Arch** | **Python** |**Dev**| **Base Image** | +|:---------------------------|:------:|:--------:|:----------:|:-----:|:-----------------------------| +| 5.0.0-24 | 24 | amd64 | 3.x | yes | amd64/node:24-alpine | +| | 24 | arm64v8 | 3.x | yes | arm64v8/node:24-alpine | +| | | | | | | +| 5.0.0-24-minimal | 24 | amd64 | no | no | amd64/node:24-alpine | +| | 24 | arm64v8 | no | no | arm64v8/node:24-alpine | +| | | | | | | +| 5.0.0-debian | 24 | amd64 | 3.x | yes | amd64/node:24-trixie-slim | +| | 24 | arm64v8 | 3.x | yes | arm64v8/node:24-trixie-slim | - All images have bash, tzdata, nano, curl, git, openssl and openssh-client pre-installed to support Node-RED's Projects feature. @@ -130,7 +133,8 @@ The following table shows the provided Manifest Lists. | **Tag** | **Node-RED Base Image** | |----------------------------------------|--------------------------------------------| -| latest-24-minimal, 5.0.0-beta.6-24-minimal | nodered/node-red:5.0.0-beta.6-24-minimal +| latest, latest-24, 5.0.0-24 | nodered/node-red:5.0.0-24 | +| latest-24-minimal, 5.0.0-24-minimal | nodered/node-red:5.0.0.6-24-minimal | With the support of Docker manifest list, there is no need to explicitly add the tag for the architecture to use. @@ -138,7 +142,7 @@ When a docker run command or docker service command or docker stack command is e Therefore all tags regarding Raspberry PI's are dropped. -For example: suppose you are running on a Raspberry PI 3B, which has `arm32v7` as architecture. Then just run the following command to pull the image (tagged by `5.0.0-beta.6-24`), and run the container. +For example: suppose you are running on a Raspberry PI 3B, which has `arm32v7` as architecture. Then just run the following command to pull the image (tagged by `5.0.0-24`), and run the container. ``` @@ -278,7 +282,7 @@ Docker build process, the dependencies are installed under `/usr/src/node-red`. The main sections to modify are "dependencies": { - "node-red": "^5.0.0-beta.6", <-- set the version of Node-RED here + "node-red": "^5.0.0", <-- set the version of Node-RED here "node-red-dashboard": "*" <-- add any extra npm packages here }, diff --git a/docker-custom/README.md b/docker-custom/README.md index bc382178..69236a16 100644 --- a/docker-custom/README.md +++ b/docker-custom/README.md @@ -31,8 +31,8 @@ The `docker-alpine.sh` and `docker-debian.sh` are helper scripts to build a cust Change the build arguments as needed: - - `--build-arg ARCH=amd64` : architecture your are building for (arm32v6, arm32v7, arm64v8, amd64) - - `--build-arg NODE_VERSION=20` : NodeJS version you like to use + - `--build-arg ARCH=amd64` : architecture your are building for (arm64v8, amd64) + - `--build-arg NODE_VERSION=24` : NodeJS version you like to use - `--build-arg NODE_RED_VERSION=${NODE_RED_VERSION}` : don't change this, ${NODE_RED_VERSION} gets populated from package.json - `--build-arg OS=alpine` : the linux distro to use (alpine) - `--build-arg BUILD_DATE="$(date +"%Y-%m-%dT%H:%M:%SZ")"` : don't change this diff --git a/docker-custom/docker-alpine.sh b/docker-custom/docker-alpine.sh index eea7643b..15a8a610 100755 --- a/docker-custom/docker-alpine.sh +++ b/docker-custom/docker-alpine.sh @@ -7,7 +7,7 @@ echo "#########################################################################" docker build --rm --no-cache \ --build-arg ARCH=amd64 \ - --build-arg NODE_VERSION=20 \ + --build-arg NODE_VERSION=24 \ --build-arg NODE_RED_VERSION=${NODE_RED_VERSION} \ --build-arg OS=alpine \ --build-arg BUILD_DATE="$(date +"%Y-%m-%dT%H:%M:%SZ")" \ diff --git a/docker-custom/docker-debian.sh b/docker-custom/docker-debian.sh index 1c7e32b3..33b09903 100755 --- a/docker-custom/docker-debian.sh +++ b/docker-custom/docker-debian.sh @@ -7,7 +7,7 @@ echo "#########################################################################" docker build --rm --no-cache \ --build-arg ARCH=amd64 \ - --build-arg NODE_VERSION=20 \ + --build-arg NODE_VERSION=24 \ --build-arg NODE_RED_VERSION=${NODE_RED_VERSION} \ --build-arg OS=bookworm-slim \ --build-arg BUILD_DATE="$(date +"%Y-%m-%dT%H:%M:%SZ")" \