From 55a3b789e2e85cf00e99e0a17c693fbab40d5ccc Mon Sep 17 00:00:00 2001 From: Brian Muenzenmeyer Date: Wed, 14 Jan 2026 06:27:30 -0600 Subject: [PATCH 1/3] document image creation automation --- CONTRIBUTING.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5e1e87158c..b11d21fcb1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,6 +10,15 @@ New **NPM** releases are not tracked. We simply use the NPM version bundled in t **Yarn** is updated to the latest version only when there is a new Node.js SemVer PATCH release (unless Yarn has received a security update), and it's updated only in the branch with the new release, preferably in the same PR. The `update.sh` script does this automatically when invoked with a specific branch, e.g. `./update.sh 6.10`. +### Image Creation Automation + +- Every 15 minutes, the [workflow](https://github.com/nodejs/docker-node/blob/main/.github/workflows/automatic-updates.yml) within the [nodejs/docker-node](https://github.com/nodejs/docker-node) repo [checks](https://github.com/nodejs/docker-node/blob/main/build-automation.mjs) for new versions of Node.js [published to the website's `index.json` file](https://nodejs.org/download/release/index.json). + - If found, it also checks for an [unofficial musl/Alpline build](https://unofficial-builds.nodejs.org/download/release/index.json). + - If found, the [update script](https://github.com/nodejs/docker-node/blob/main/update.sh) runs + - The workflow opens a pull request is opened either by [nodejs-github-bot](https://github.com/nodejs-github-bot). In some cases, this PR is manually created, such as new major releases. +- Another [workflow](https://github.com/nodejs/docker-node/blob/main/.github/workflows/official-pr.yml) detects the merger of these pull requests and opens a pull request to [docker-library/official-images](https://github.com/docker-library/official-images). +- The official images are built and published according to [docker's process](https://github.com/docker-library/faq#an-images-source-changed-in-git-now-what), resulting in the new images being available on [Docker Hub](https://hub.docker.com/_/node). + ### Submitting a PR for a version update If you'd like to help us by submitting a PR for a version update, please do the following: From 0f0bda879ed92e5a7ca29c2c41e425e74fdfeafc Mon Sep 17 00:00:00 2001 From: Brian Muenzenmeyer Date: Wed, 14 Jan 2026 06:27:52 -0600 Subject: [PATCH 2/3] fix typo found while reading the source code --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.sh b/update.sh index c30b6b3088..13841f9f5b 100755 --- a/update.sh +++ b/update.sh @@ -60,7 +60,7 @@ if [ ${#versions[@]} -eq 0 ]; then fi # Global variables -# Get architecure and use this as target architecture for docker image +# Get architecture and use this as target architecture for docker image # See details in function.sh # TODO: Should be able to specify target architecture manually arch=$(get_arch) From c28a52d250cf1ef7c6a6003a73cf282627c875cb Mon Sep 17 00:00:00 2001 From: Brian Muenzenmeyer Date: Wed, 14 Jan 2026 08:23:56 -0600 Subject: [PATCH 3/3] grammar Co-authored-by: Diesmon --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b11d21fcb1..e0cde871bd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -15,7 +15,7 @@ New **NPM** releases are not tracked. We simply use the NPM version bundled in t - Every 15 minutes, the [workflow](https://github.com/nodejs/docker-node/blob/main/.github/workflows/automatic-updates.yml) within the [nodejs/docker-node](https://github.com/nodejs/docker-node) repo [checks](https://github.com/nodejs/docker-node/blob/main/build-automation.mjs) for new versions of Node.js [published to the website's `index.json` file](https://nodejs.org/download/release/index.json). - If found, it also checks for an [unofficial musl/Alpline build](https://unofficial-builds.nodejs.org/download/release/index.json). - If found, the [update script](https://github.com/nodejs/docker-node/blob/main/update.sh) runs - - The workflow opens a pull request is opened either by [nodejs-github-bot](https://github.com/nodejs-github-bot). In some cases, this PR is manually created, such as new major releases. + - The workflow opens a pull request either automatically via [nodejs-github-bot](https://github.com/nodejs-github-bot) or in some cases manually, such as when there is a new major releases. - Another [workflow](https://github.com/nodejs/docker-node/blob/main/.github/workflows/official-pr.yml) detects the merger of these pull requests and opens a pull request to [docker-library/official-images](https://github.com/docker-library/official-images). - The official images are built and published according to [docker's process](https://github.com/docker-library/faq#an-images-source-changed-in-git-now-what), resulting in the new images being available on [Docker Hub](https://hub.docker.com/_/node).