Skip to content

Commit 5d7474e

Browse files
fabriciojsclaude
andcommitted
fix: drop EOL Node 20 build so CI is green again
npm@latest (12.x) requires node ^22.22.2 || ^24.15.0 || >=26, so the `npm i -g npm@latest` step fails on node:20-alpine and fail-fast cancels every other job. Node 20 reached EOL on 2026-04-30 and its upstream image is frozen; the published kooldev/node:20 tag stays on Docker Hub as legacy. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 37fa7fd commit 5d7474e

8 files changed

Lines changed: 3 additions & 98 deletions

File tree

‎.github/workflows/ci-cd.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
build:
1111
strategy:
1212
matrix:
13-
version: [20, 22, 24, 24-nginx]
13+
version: [22, 24, 24-nginx]
1414
runs-on: [ubuntu-24.04, ubuntu-24.04-arm]
1515
runs-on: ${{ matrix.runs-on }}
1616

@@ -70,7 +70,7 @@ jobs:
7070
runs-on: ubuntu-24.04
7171
strategy:
7272
matrix:
73-
version: [20, 22, 24, 24-nginx]
73+
version: [22, 24, 24-nginx]
7474

7575
steps:
7676
- uses: docker/login-action@v3

‎20/Dockerfile‎

Lines changed: 0 additions & 38 deletions
This file was deleted.

‎20/entrypoint‎

Lines changed: 0 additions & 20 deletions
This file was deleted.

‎20/kool-npmrc‎

Lines changed: 0 additions & 4 deletions
This file was deleted.

‎20/root-npmrc‎

Lines changed: 0 additions & 4 deletions
This file was deleted.

‎README.md‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ Minimal [Node](https://nodejs.org/en/) Docker image. It's use is intended for [k
66

77
## Available Tags
88

9-
### 20
10-
11-
- [20](https://github.com/kool-dev/docker-node/blob/master/20/Dockerfile)
12-
139
### 22
1410

1511
- [22](https://github.com/kool-dev/docker-node/blob/master/22/Dockerfile)
@@ -31,6 +27,7 @@ The following images have been discontinued, but still exist on Hub Docker in ca
3127
- [14](https://github.com/kool-dev/docker-node/tree/legacy-2022-07/14/Dockerfile), [14-qa](https://github.com/kool-dev/docker-node/tree/legacy-2022-07/14-qa/Dockerfile), [14-adonis](https://github.com/kool-dev/docker-node/tree/legacy-2022-07/14-adonis/Dockerfile), [14-adonis-qa](https://github.com/kool-dev/docker-node/tree/legacy-2022-07/14-adonis-qa/Dockerfile), [14-nest](https://github.com/kool-dev/docker-node/tree/legacy-2022-07/14-nest/Dockerfile), [14-nest-qa](https://github.com/kool-dev/docker-node/tree/legacy-2022-07/14-nest-qa/Dockerfile)
3228
- [16](https://github.com/kool-dev/docker-node/blob/master/16/Dockerfile)
3329
- [18](https://github.com/kool-dev/docker-node/blob/master/18/Dockerfile)
30+
- [20](https://github.com/kool-dev/docker-node/blob/37fa7fd/20/Dockerfile)
3431
- [21](https://github.com/kool-dev/docker-node/blob/master/21/Dockerfile)
3532
- [22-nginx](https://github.com/kool-dev/docker-node/blob/master/22-nginx/Dockerfile)
3633

‎fwd-template.json‎

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,6 @@
11
{
22
"output": ".",
33
"builds": [
4-
{
5-
"name": "20",
6-
"data": {
7-
"from": "node:20-alpine",
8-
"version": "20"
9-
},
10-
"files": [
11-
{
12-
"name": "Dockerfile",
13-
"path": "template/Dockerfile"
14-
},
15-
{
16-
"name": "entrypoint",
17-
"path": "template/entrypoint"
18-
},
19-
{
20-
"name": "kool-npmrc",
21-
"path": "template/kool-npmrc"
22-
},
23-
{
24-
"name": "root-npmrc",
25-
"path": "template/root-npmrc"
26-
}
27-
]
28-
},
294
{
305
"name": "22",
316
"data": {

‎kool.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ scripts:
33
build:
44
# parse templates
55
- kool run template
6-
- docker build --pull -t kooldev/node:20 20
76
- docker build --pull -t kooldev/node:22 22
87
- docker build --pull -t kooldev/node:24 24
98
- docker build --pull -t kooldev/node:24-nginx 24-nginx

0 commit comments

Comments
 (0)