Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 20/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/bfren/alpine-s6:alpine3.20-7.0.2
FROM quay.io/bfren/alpine-s6:alpine3.20-7.0.3

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-node"

Expand Down
2 changes: 1 addition & 1 deletion 21/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/bfren/alpine-s6:alpine3.20-7.0.2
FROM quay.io/bfren/alpine-s6:alpine3.20-7.0.3

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-node"

Expand Down
2 changes: 1 addition & 1 deletion 22/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/bfren/alpine-s6:alpine3.22-7.0.2
FROM quay.io/bfren/alpine-s6:alpine3.22-7.0.3

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-node"

Expand Down
2 changes: 1 addition & 1 deletion 22/overlay/tmp/NODE_BUILD
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22.23.4-r0
22.23.5-r0
2 changes: 1 addition & 1 deletion 23/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/bfren/alpine-s6:alpine3.22-7.0.2
FROM quay.io/bfren/alpine-s6:alpine3.22-7.0.3

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-node"

Expand Down
2 changes: 1 addition & 1 deletion 24/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/bfren/alpine-s6:alpine3.24-7.0.2
FROM quay.io/bfren/alpine-s6:alpine3.24-7.0.3

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-node"

Expand Down
2 changes: 1 addition & 1 deletion 24/overlay/tmp/NODE_BUILD
Original file line number Diff line number Diff line change
@@ -1 +1 @@
24.22.1-r1
24.22.3-r0
2 changes: 1 addition & 1 deletion 26/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/bfren/alpine-s6:alpine3.24-7.0.2
FROM quay.io/bfren/alpine-s6:alpine3.24-7.0.3

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-node"

Expand Down
2 changes: 1 addition & 1 deletion 26/overlay/tmp/NODE_BUILD
Original file line number Diff line number Diff line change
@@ -1 +1 @@
26.12.1-r0
26.13.1-r0
2 changes: 1 addition & 1 deletion 26/overlay/tmp/NODE_MINOR
Original file line number Diff line number Diff line change
@@ -1 +1 @@
26.12
26.13
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [6.0.3] - 2026-11-25

### Added

- `docker-compose.yml` - the Quickstart example as a file you can copy.

### Changed

- Base image updated to `bfren/alpine-s6` 7.0.3, which rebuilds BusyBox, figlet and Nushell without changing
their versions - see the [Alpine + S6 changelog](https://github.com/bfren/docker-alpine-s6/blob/main/CHANGELOG.md).
- Node.js updated to 22.23.5, 24.22.3 and 26.13.1.

## [6.0.2] - 2026-11-10

### Changed
Expand Down Expand Up @@ -46,6 +58,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- The Node.js 24 image builds again - it now installs Alpine's `nodejs` package `24.22.1-r1`, which replaced
`24.22.1-r0`.

[6.0.3]: https://github.com/bfren/docker-node/compare/v6.0.2...v6.0.3
[6.0.2]: https://github.com/bfren/docker-node/compare/v6.0.1...v6.0.2
[6.0.1]: https://github.com/bfren/docker-node/compare/v6.0.0...v6.0.1
[6.0.0]: https://github.com/bfren/docker-node/compare/v5.0.0...v6.0.0
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ services:
- ./app:/app/live
```

This example is also in [`docker-compose.yml`](docker-compose.yml).

Run `docker compose up -d`, then open `http://127.0.0.1:3000`. Without your own app, a welcome page is shown.

Your app must listen on `0.0.0.0` (all interfaces), not `127.0.0.1` - otherwise it can't be reached through the published port.
Expand All @@ -47,18 +49,20 @@ Images are published to Docker Hub (`bfren/node`) and Quay.io (`quay.io/bfren/no
| `nodeN` | `node24` | You want the latest image for a Node.js version |
| `nodeN-MAJOR` | `node24-6` | You want updates, but not breaking changes |
| `nodeN-MINOR` | `node24-6.0` | You want fixes only - **recommended** |
| `nodeN-VERSION` | `node24-6.0.2` | You want to pin this image exactly |
| `nodeN-VERSION` | `node24-6.0.3` | You want to pin this image exactly |
| `nodeN.M` | `node24.22` | You want an exact Node.js release |
| `nodeN.M-VERSION` | `node24.22-6.0.2` | You want to pin both |
| `nodeN.M-VERSION` | `node24.22-6.0.3` | You want to pin both |

A new `MAJOR` version means a breaking change. Before moving to one, read the [changelog](CHANGELOG.md), where each breaking change is marked **Breaking**.

There is no `latest` tag - always choose a Node.js version.

| Node.js | Release | Alpine | Security support ends |
| ------- | ------- | ------ | --------------------- |
| 26 | 26.12.1 | 3.24 | 2029-04-30 (LTS) |
| 24 | 24.22.1 | 3.24 | 2028-04-30 (LTS) |
| 26 | 26.13.1 | 3.24 | 2029-04-30 (LTS) |
| 24 | 24.22.3 | 3.24 | 2028-04-30 (LTS) |
| 23 | 23.11.1 | 3.22 | ended 2025-06-01 |
| 22 | 22.23.4 | 3.22 | 2027-04-30 (LTS) |
| 22 | 22.23.5 | 3.22 | 2027-04-30 (LTS) |
| 21 | 21.7.3 | 3.20 | ended 2024-06-01 |
| 20 | 20.15.1 | 3.20 | ended 2026-04-30 |

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.0.2
6.0.3
8 changes: 8 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
services:
app:
image: quay.io/bfren/node:node24-6.0
restart: unless-stopped
ports:
- "127.0.0.1:3000:3000"
volumes:
- ./app:/app/live
2 changes: 1 addition & 1 deletion generate-dockerfiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -euo pipefail

docker pull bfren/alpine

BASE_VERSION="7.0.2"
BASE_VERSION="7.0.3"
echo "Base: ${BASE_VERSION}"

NODE_VERSIONS="20 21 22 23 24 26"
Expand Down