The docker-custom directory contains files you need to build your own images.
The follow steps describe in short which steps to take to build your own images.
Clone the Node-RED Docker project from github
git clone https://github.com/node-red/node-red-docker.git
Change dir to docker-custom
cd node-red-docker/docker-custom
The docker-make.sh is a helper script to build a custom Node-RED docker image.
Change the build arguments as needed:
--build-arg ARCH=amd64 : architecture your are building for (arm32v6, arm32v7, arm64v8, amd64)--build-arg NODE_VERSION=10 : 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--build-arg TAG_SUFFIX=default : to build the default or minimal image--file Dockerfile.custom : Dockerfile to use to build your image.--tag testing:node-red-build : set the image name and tagRun docker-make.sh
$ ./docker-make.sh
This starts building your custom image and might take a while depending on the system you are running on.
When building is done you can run the custom image by the following command:
$ docker run -it -p1880:1880 testing:node-red-build
With the following command you can verify your docker image:
$ docker inspect testing:node-red-build
Dockerfile.custom can be modified as required. To add more applications the scripts/install_devtools.sh can be modified as needed.
Content type
Image
Digest
Size
152.3 MB
Last updated
about 5 years ago
docker pull octotronic/node-red:2.0.5.0