Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 15 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.

Expand All @@ -130,15 +133,16 @@ 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.
When a docker run command or docker service command or docker stack command is executed, docker checks which architecture is required and verifies if it is available in the docker repository. If it does, docker pulls the matching image for it.

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.


```
Expand Down Expand Up @@ -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
},

Expand Down
4 changes: 2 additions & 2 deletions docker-custom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker-custom/docker-alpine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")" \
Expand Down
2 changes: 1 addition & 1 deletion docker-custom/docker-debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")" \
Expand Down