Skip to content

Commit 218f52c

Browse files
committed
add node:lts section
1 parent 74e5326 commit 218f52c

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ The official Node.js docker image, made with love by the node community.
2222
- [npm run](#npm-run)
2323
- [Image Variants](#image-variants)
2424
- [`node:<version>`](#nodeversion)
25+
- [`node:lts`](#nodelts)
2526
- [`node:alpine`](#nodealpine)
2627
- [`node:bullseye`](#nodebullseye)
2728
- [`node:bookworm`](#nodebookworm)
@@ -172,6 +173,11 @@ on their system. It, by design, has a large number of extremely common Debian
172173
packages. This reduces the number of packages that images that derive from it
173174
need to install, thus reducing the overall size of all images on your system.
174175

176+
### `node:lts`
177+
178+
This is a special form of `node:<version>` that selects the
179+
Active Long Term Support version of Node.js. See also [Long Term Support](#long-term-support-lts) below for more detail.
180+
175181
### `node:alpine`
176182

177183
This image is based on the popular
@@ -239,7 +245,8 @@ Production applications should only use Active LTS or Maintenance LTS releases.
239245
Refer to [Node.js Releases](https://github.com/nodejs/release#readme) for a description
240246
of release phases and schedule.
241247

242-
If no version selection is made in a tag, then the Current release is selected.
248+
If no version selection is made in a tag, for example, `node:slim`,
249+
then the Current release is selected.
243250
`node` images using the Active LTS release are published with an `lts` floating tag
244251
to aid their selection. `node:lts` can be used on its own, or in combination with other tags
245252
such as `node:lts-slim`. To select a `node` image based on a Maintenance LTS version

0 commit comments

Comments
 (0)