diff --git a/20/Dockerfile b/20/Dockerfile index 5c62fc0..7546f61 100644 --- a/20/Dockerfile +++ b/20/Dockerfile @@ -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" diff --git a/21/Dockerfile b/21/Dockerfile index 0e7fa89..7492b2d 100644 --- a/21/Dockerfile +++ b/21/Dockerfile @@ -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" diff --git a/22/Dockerfile b/22/Dockerfile index aacf933..68f45b2 100644 --- a/22/Dockerfile +++ b/22/Dockerfile @@ -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" diff --git a/22/overlay/tmp/NODE_BUILD b/22/overlay/tmp/NODE_BUILD index 23e05db..b98e07f 100644 --- a/22/overlay/tmp/NODE_BUILD +++ b/22/overlay/tmp/NODE_BUILD @@ -1 +1 @@ -22.23.4-r0 \ No newline at end of file +22.23.5-r0 \ No newline at end of file diff --git a/23/Dockerfile b/23/Dockerfile index 5b63a91..17072e1 100644 --- a/23/Dockerfile +++ b/23/Dockerfile @@ -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" diff --git a/24/Dockerfile b/24/Dockerfile index 8f8793b..fa74693 100644 --- a/24/Dockerfile +++ b/24/Dockerfile @@ -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" diff --git a/24/overlay/tmp/NODE_BUILD b/24/overlay/tmp/NODE_BUILD index 6728ef5..b683225 100644 --- a/24/overlay/tmp/NODE_BUILD +++ b/24/overlay/tmp/NODE_BUILD @@ -1 +1 @@ -24.22.1-r1 \ No newline at end of file +24.22.3-r0 \ No newline at end of file diff --git a/26/Dockerfile b/26/Dockerfile index 752347b..0502919 100644 --- a/26/Dockerfile +++ b/26/Dockerfile @@ -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" diff --git a/26/overlay/tmp/NODE_BUILD b/26/overlay/tmp/NODE_BUILD index 03513ea..cdbd9da 100644 --- a/26/overlay/tmp/NODE_BUILD +++ b/26/overlay/tmp/NODE_BUILD @@ -1 +1 @@ -26.12.1-r0 \ No newline at end of file +26.13.1-r0 \ No newline at end of file diff --git a/26/overlay/tmp/NODE_MINOR b/26/overlay/tmp/NODE_MINOR index 4054205..5d6a6e5 100644 --- a/26/overlay/tmp/NODE_MINOR +++ b/26/overlay/tmp/NODE_MINOR @@ -1 +1 @@ -26.12 \ No newline at end of file +26.13 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 47e5f05..89e7f13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 @@ -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 diff --git a/README.md b/README.md index 6942cae..2eb9110 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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 | diff --git a/VERSION b/VERSION index 7a9f89d..39c5d6a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -6.0.2 \ No newline at end of file +6.0.3 \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..c4ba911 --- /dev/null +++ b/docker-compose.yml @@ -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 diff --git a/generate-dockerfiles.sh b/generate-dockerfiles.sh index 5274306..a8070bd 100755 --- a/generate-dockerfiles.sh +++ b/generate-dockerfiles.sh @@ -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"