Skip to content

Commit bf98f9f

Browse files
author
Dave Conway-Jones
committed
ensure 1.0.2 in both pacakge.json and readme
1 parent 082163a commit bf98f9f

File tree

3 files changed

+44
-53
lines changed

3 files changed

+44
-53
lines changed

README.md

Lines changed: 41 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ Let's dissect that command:
2222
-it - attach a terminal session so we can see what is going on
2323
-p 1880:1880 - connect local port 1880 to the exposed internal port 1880
2424
--name mynodered - give this machine a friendly local name
25-
nodered/node-red - the image to base it on - currently Node-RED v1.0.1
25+
nodered/node-red - the image to base it on - currently Node-RED v1.0.2
2626

2727

2828
Running that command should give a terminal window with a running instance of Node-RED.
2929

3030
Welcome to Node-RED
3131
===================
3232

33-
03 Oct 12:57:10 - [info] Node-RED version: v1.0.1
33+
03 Oct 12:57:10 - [info] Node-RED version: v1.0.2
3434
03 Oct 12:57:10 - [info] Node.js version: v10.16.3
3535
03 Oct 12:57:10 - [info] Linux 4.9.184-linuxkit x64 LE
3636
03 Oct 12:57:11 - [info] Loading palette nodes
@@ -62,7 +62,7 @@ Running that command should give a terminal window with a running instance of No
6262

6363
You can then browse to `http://{host-ip}:1880` to get the familiar Node-RED desktop.
6464

65-
**Note**: Currently there is a bug in Docker's architecture detection that fails for Arm6 CPU - eg Raspberry Pi Zero or 1. For these devices you currently need to specify the full build label, for example:
65+
**Note**: Currently there is a bug in Docker's architecture detection that fails for Arm6 CPU - eg Raspberry Pi Zero or 1. For these devices you currently need to specify the full build label, for example:
6666

6767
```
6868
docker run -it -p 1880:1880 --name mynodered nodered/node-red:1.0.1-10-arm32v6
@@ -113,32 +113,28 @@ The following table shows the variety of provided Node-RED images.
113113

114114
| **Tag** |**Node**| **Arch** | **Python** |**Dev**| **Base Image** |
115115
|----------------------------|--------|----------|------------|-------|------------------------|
116-
| 1.0.1-10-amd64 | 10 | amd64 | 2.x 3.x | yes | amd64/node:10-alpine |
117-
| 1.0.1-10-arm32v6 | 10 | arm32v6 | 2.x 3.x | yes | arm32v6/node:10-alpine |
118-
| 1.0.1-10-arm32v7 | 10 | arm32v7 | 2.x 3.x | yes | arm32v7/node:10-alpine |
119-
| 1.0.1-10-arm64v8 | 10 | arm64v8 | 2.x 3.x | yes | arm64v8/node:10-alpine |
120-
| 1.0.1-10-s390x | 10 | s390x | 2.x 3.x | yes | s390x/node:10-alpine |
116+
| 1.0.2-10-amd64 | 10 | amd64 | 2.x 3.x | yes | amd64/node:10-alpine |
117+
| 1.0.2-10-arm32v6 | 10 | arm32v6 | 2.x 3.x | yes | arm32v6/node:10-alpine |
118+
| 1.0.2-10-arm32v7 | 10 | arm32v7 | 2.x 3.x | yes | arm32v7/node:10-alpine |
119+
| 1.0.2-10-arm64v8 | 10 | arm64v8 | 2.x 3.x | yes | arm64v8/node:10-alpine |
121120
| | | | | | |
122-
| 1.0.1-10-minimal-amd64 | 10 | amd64 | no | no | amd64/node:10-alpine |
123-
| 1.0.1-10-minimal-arm32v6 | 10 | arm32v6 | no | no | arm32v6/node:10-alpine |
124-
| 1.0.1-10-minimal-arm32v7 | 10 | arm32v7 | no | no | arm32v7/node:10-alpine |
125-
| 1.0.1-10-minimal-arm64v8 | 10 | arm64v8 | no | no | arm64v8/node:10-alpine |
126-
| 1.0.1-10-minima-s390x | 10 | s390x | no | no | s390x/node:10-alpine |
121+
| 1.0.2-10-minimal-amd64 | 10 | amd64 | no | no | amd64/node:10-alpine |
122+
| 1.0.2-10-minimal-arm32v6 | 10 | arm32v6 | no | no | arm32v6/node:10-alpine |
123+
| 1.0.2-10-minimal-arm32v7 | 10 | arm32v7 | no | no | arm32v7/node:10-alpine |
124+
| 1.0.2-10-minimal-arm64v8 | 10 | arm64v8 | no | no | arm64v8/node:10-alpine |
127125

128126

129127
| **Tag** |**Node**| **Arch** | **Python** |**Dev**| **Base Image** |
130128
|----------------------------|--------|----------|------------|-------|------------------------|
131-
| 1.0.1-12-amd64 | 12 | amd64 | 2.x 3.x | yes | amd64/node:12-alpine |
132-
| 1.0.1-12-arm32v6 | 12 | arm32v6 | 2.x 3.x | yes | arm32v6/node:12-alpine |
133-
| 1.0.1-12-arm32v7 | 12 | arm32v7 | 2.x 3.x | yes | arm32v7/node:12-alpine |
134-
| 1.0.1-12-arm64v8 | 12 | arm64v8 | 2.x 3.x | yes | arm64v8/node:12-alpine |
135-
| 1.0.1-12-s390x | 12 | s390x | 2.x 3.x | yes | s390x/node:12-alpine |
129+
| 1.0.2-12-amd64 | 12 | amd64 | 2.x 3.x | yes | amd64/node:12-alpine |
130+
| 1.0.2-12-arm32v6 | 12 | arm32v6 | 2.x 3.x | yes | arm32v6/node:12-alpine |
131+
| 1.0.2-12-arm32v7 | 12 | arm32v7 | 2.x 3.x | yes | arm32v7/node:12-alpine |
132+
| 1.0.2-12-arm64v8 | 12 | arm64v8 | 2.x 3.x | yes | arm64v8/node:12-alpine |
136133
| | | | | | |
137-
| 1.0.1-12-minimal-amd64 | 12 | amd64 | no | no | amd64/node:12-alpine |
138-
| 1.0.1-12-minimal-arm32v6 | 12 | arm32v6 | no | no | arm32v6/node:12-alpine |
139-
| 1.0.1-12-minimal-arm32v7 | 12 | arm32v7 | no | no | arm32v7/node:12-alpine |
140-
| 1.0.1-12-minimal-arm64v8 | 12 | arm64v8 | no | no | arm64v8/node:12-alpine |
141-
| 1.0.1-12-minimal-s390x | 12 | s390x | no | no | s390x/node:12-alpine |
134+
| 1.0.2-12-minimal-amd64 | 12 | amd64 | no | no | amd64/node:12-alpine |
135+
| 1.0.2-12-minimal-arm32v6 | 12 | arm32v6 | no | no | arm32v6/node:12-alpine |
136+
| 1.0.2-12-minimal-arm32v7 | 12 | arm32v7 | no | no | arm32v7/node:12-alpine |
137+
| 1.0.2-12-minimal-arm64v8 | 12 | arm64v8 | no | no | arm64v8/node:12-alpine |
142138

143139
- All images have bash, tzdata, nano, curl git and openssl tools pre-installed to support Node-RED's Projects feature.
144140

@@ -147,50 +143,45 @@ The following table shows the provided Manifest Lists.
147143

148144
| **Tag** | **Node-RED Base Image** |
149145
|----------------------------------------|--------------------------------------------|
150-
| latest, 1.0.1, | nodered/node-red:1.0.1-10-amd64 |
151-
| latest-10, 1.0.1-10 | nodered/node-red:1.0.1-10-arm32v6 |
152-
| | nodered/node-red:1.0.1-10-arm32v7 |
153-
| | nodered/node-red:1.0.1-10-arm64v8 |
154-
| | nodered/node-red:1.0.1-10-s390x |
146+
| latest, 1.0.2, | nodered/node-red:1.0.2-10-amd64 |
147+
| latest-10, 1.0.2-10 | nodered/node-red:1.0.2-10-arm32v6 |
148+
| | nodered/node-red:1.0.2-10-arm32v7 |
149+
| | nodered/node-red:1.0.2-10-arm64v8 |
155150
| | |
156-
| latest-minimal, 1.0.1-minimal, | nodered/node-red:1.0.1-10-amd64-minimal |
157-
| latest-10-minimal, 1.0.1-10-minimal | nodered/node-red:1.0.1-10-arm32v6-minimal |
158-
| | nodered/node-red:1.0.1-10-arm32v7-minimal |
159-
| | nodered/node-red:1.0.1-10-arm64v8-minimal |
160-
| | nodered/node-red:1.0.1-10-s390x-minimal |
151+
| latest-minimal, 1.0.2-minimal, | nodered/node-red:1.0.2-10-amd64-minimal |
152+
| latest-10-minimal, 1.0.2-10-minimal | nodered/node-red:1.0.2-10-arm32v6-minimal |
153+
| | nodered/node-red:1.0.2-10-arm32v7-minimal |
154+
| | nodered/node-red:1.0.2-10-arm64v8-minimal |
161155

162156
| **Tag** | **Node-RED Base Image** |
163157
|----------------------------------------|--------------------------------------------|
164-
| latest-12, 1.0.1-12 | nodered/node-red:1.0.1-12-amd64 |
165-
| | nodered/node-red:1.0.1-12-arm32v6 |
166-
| | nodered/node-red:1.0.1-12-arm32v7 |
167-
| | nodered/node-red:1.0.1-12-arm64v8 |
168-
| | nodered/node-red:1.0.1-12-s390x |
158+
| latest-12, 1.0.2-12 | nodered/node-red:1.0.2-12-amd64 |
159+
| | nodered/node-red:1.0.2-12-arm32v6 |
160+
| | nodered/node-red:1.0.2-12-arm32v7 |
161+
| | nodered/node-red:1.0.2-12-arm64v8 |
169162
| | |
170-
| latest-12-minimal, 1.0.1-12-minimal | nodered/node-red:1.0.1-12-amd64-minimal |
171-
| | nodered/node-red:1.0.1-12-arm32v6-minimal |
172-
| | nodered/node-red:1.0.1-12-arm32v7-minimal |
173-
| | nodered/node-red:1.0.1-12-arm64v8-minimal |
174-
| | nodered/node-red:1.0.1-12-s390x-minimal |
163+
| latest-12-minimal, 1.0.2-12-minimal | nodered/node-red:1.0.2-12-amd64-minimal |
164+
| | nodered/node-red:1.0.2-12-arm32v6-minimal |
165+
| | nodered/node-red:1.0.2-12-arm32v7-minimal |
166+
| | nodered/node-red:1.0.2-12-arm64v8-minimal |
175167

176168
With the support of Docker manifest list, there is no need to explicitly add the tag for the architecture to use.
177169
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.
178170

179171
Therefore all tags regarding Raspberry PI's are dropped.
180172

181-
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 `1.0.1-10-arm32v7`), and run the container.
173+
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 `1.0.2-10-arm32v7`), and run the container.
182174
```
183175
docker run -it -p 1880:1880 --name mynodered nodered/node-red:latest
184176
```
185177

186-
The same command can be used for running on an amd64 system, since docker discovers its running on a amd64 host and pulls the image with the matching tag (`1.0.1-10-amd64`).
178+
The same command can be used for running on an amd64 system, since docker discovers its running on a amd64 host and pulls the image with the matching tag (`1.0.2-10-amd64`).
187179

188180
This gives the advantage that you don't need to know/specify which architecture you are running on and makes docker run commands and docker compose files more flexible and exchangeable across systems.
189181

190-
**Note**: Currently there is a bug in Docker's architecture detection that fails for Arm6 CPU - eg Raspberry Pi Zero or 1. For these devices you currently need to specify the full build label, for example:
191-
182+
**Note**: Currently there is a bug in Docker's architecture detection that fails for Arm6 CPU - eg Raspberry Pi Zero or 1. For these devices you currently need to specify the full build label, for example:
192183
```
193-
docker run -it -p 1880:1880 --name mynodered nodered/node-red:1.0.1-10-minimal-arm32v6
184+
docker run -it -p 1880:1880 --name mynodered nodered/node-red:1.0.2-10-minimal-arm32v6
194185
```
195186

196187
## Raspberry PI - native GPIO support
@@ -323,7 +314,7 @@ Docker build process, the dependencies are installed under `/usr/src/node-red`.
323314
The main sections to modify are
324315

325316
"dependencies": {
326-
"node-red": "^1.0.1", <-- set the version of Node-RED here
317+
"node-red": "^1.0.2", <-- set the version of Node-RED here
327318
"node-red-dashboard": "*" <-- add any extra npm packages here
328319
},
329320

@@ -454,7 +445,7 @@ you may add `-p 1883:1883` etc to the broker run command if you want to see it.
454445
### Docker-Compose linking example
455446

456447
Another way to link containers is by using docker-compose. The following docker-compose.yml
457-
file creates a Node-RED instance, and a local MQTT broker instance. In the Node-RED flow the broker can be addressed simply as `broker` at its default port `1883`.
448+
file creates a Node-RED instance, and a local MQTT broker instance. In the Node-RED flow the broker can be addressed simply as `broker` at its default port `1883`.
458449

459450
```
460451
version: "3.7"

docker-custom/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-red-docker",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Low-code programming for event-driven applications",
55
"homepage": "http://nodered.org",
66
"license": "Apache-2.0",
@@ -27,7 +27,7 @@
2727
}
2828
],
2929
"dependencies": {
30-
"node-red": "1.0.1"
30+
"node-red": "1.0.2"
3131
},
3232
"engines": {
3333
"node": ">=10"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-red-docker",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Low-code programming for event-driven applications",
55
"homepage": "http://nodered.org",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)