-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Description
Environment
- Platform: Ubuntu 24.04.4 LTS
- Docker Version: N/A
- Node.js Version: N/A
- Image Tag: N/A
Expected Behavior
The help text, which is invoked with ./update.sh -h, should provide a list of working commands.
Current behavior
The help text is as follows:
$ ./update.sh -h
Update the node docker images.
Usage:
./update.sh [-s] [MAJOR_VERSION(S)] [VARIANT(S)]
Examples:
- update.sh # Update all images
- update.sh -s # Update all images, skip updating Alpine and Yarn
- update.sh 8,10 # Update all variants of version 8 and 10
- update.sh -s 8 # Update version 8 and variants, skip updating Alpine and Yarn
- update.sh 8 alpine # Update only alpine's variants for version 8
- update.sh -s 8 bullseye # Update only bullseye variant for version 8, skip updating Alpine and Yarn
- update.sh . alpine # Update the alpine variant for all versions
OPTIONS:
-s Security update; skip updating the yarn and alpine versions.
-b CI config update only
-h Show this message
- Using
alpineas an argument, as in./update.sh . alpine, does not targetalpinevariants. Instead it updates all Alpine and Debian variants. - The text for the
-ssuggests that Dockerfiles for Alpine are not updated, even though they are. - The text for
bullseyedoes not mention thatbullseye-slimwill not be targeted, although this might be expected. - Using the Node.js versions 8 & 10 causes all active Node.js versions to be updated. Node.js 8 & 10 are already in EOL status.
- The -b option produces an error "illegal option -- b"
Possible Solution
Update the help text in update.sh
- use Node.js 22 & 24 as example versions
- use
alpine3.23as an example - include both
trixieandtrixie-slimas separate Debian variant examples
Steps to Reproduce
git clone https://github.com/nodejs/docker-node
cd docker-nodeExecute each of the examples, observe the logs and check the changes made (git diff)
Additional Information
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels