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
8 changes: 4 additions & 4 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
build:
strategy:
matrix:
version: [18, 20, 22, 22-nginx]
runs-on: [ubuntu-latest, buildjet-4vcpu-ubuntu-2204-arm]
version: [20, 22, 22-nginx, 24]
runs-on: [ubuntu-24.04, ubuntu-24.04-arm]
runs-on: ${{ matrix.runs-on }}

steps:
Expand Down Expand Up @@ -62,10 +62,10 @@ jobs:
amend:
if: github.ref == 'refs/heads/master' && github.repository == 'kool-dev/docker-node'
needs: build
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
matrix:
version: [18, 20, 22]
version: [20, 22, 22-nginx, 24]

steps:
- uses: docker/login-action@v3
Expand Down
2 changes: 1 addition & 1 deletion 18/Dockerfile → 24/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine
FROM node:24-alpine

ENV ASUSER= \
UID=0 \
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ Minimal [Node](https://nodejs.org/en/) Docker image. It's use is intended for [k

## Available Tags

### 18

- [18](https://github.com/kool-dev/docker-node/blob/master/18/Dockerfile)

### 20

- [20](https://github.com/kool-dev/docker-node/blob/master/20/Dockerfile)
Expand All @@ -18,6 +14,14 @@ Minimal [Node](https://nodejs.org/en/) Docker image. It's use is intended for [k

- [22](https://github.com/kool-dev/docker-node/blob/master/22/Dockerfile)

### 22-nginx

- [22-nginx](https://github.com/kool-dev/docker-node/blob/master/22-nginx/Dockerfile)

### 24

- [24](https://github.com/kool-dev/docker-node/blob/master/24/Dockerfile)

### Legacy tags

The following images have been discontinued, but still exist on Hub Docker in case you need them. We strongly advise moving to the newer versions.
Expand All @@ -26,6 +30,7 @@ The following images have been discontinued, but still exist on Hub Docker in ca
- [12](https://github.com/kool-dev/docker-node/tree/legacy-2022-07/12/Dockerfile), [12-qa](https://github.com/kool-dev/docker-node/tree/legacy-2022-07/12-qa/Dockerfile), [12-adonis](https://github.com/kool-dev/docker-node/tree/legacy-2022-07/12-adonis/Dockerfile), [12-adonis-qa](https://github.com/kool-dev/docker-node/tree/legacy-2022-07/12-adonis-qa/Dockerfile), [12-nest](https://github.com/kool-dev/docker-node/tree/legacy-2022-07/12-nest/Dockerfile), [12-nest-qa](https://github.com/kool-dev/docker-node/tree/legacy-2022-07/12-nest-qa/Dockerfile)
- [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)
- [16](https://github.com/kool-dev/docker-node/blob/master/16/Dockerfile)
- [18](https://github.com/kool-dev/docker-node/blob/master/18/Dockerfile)
- [21](https://github.com/kool-dev/docker-node/blob/master/21/Dockerfile)

## Environment Variables
Expand Down
18 changes: 9 additions & 9 deletions fwd-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"output": ".",
"builds": [
{
"name": "18",
"name": "20",
"data": {
"from": "node:18-alpine",
"version": "18"
"from": "node:20-alpine",
"version": "20"
},
"files": [
{
Expand All @@ -27,10 +27,10 @@
]
},
{
"name": "20",
"name": "22",
"data": {
"from": "node:20-alpine",
"version": "20"
"from": "node:22-alpine",
"version": "22"
},
"files": [
{
Expand All @@ -52,10 +52,10 @@
]
},
{
"name": "22",
"name": "24",
"data": {
"from": "node:22-alpine",
"version": "22"
"from": "node:24-alpine",
"version": "24"
},
"files": [
{
Expand Down
6 changes: 2 additions & 4 deletions kool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ scripts:
build:
# parse templates
- kool run template
# node 18
- docker build --pull -t kooldev/node:18 18
# node 20
- docker build --pull -t kooldev/node:20 20
# node 22
- docker build --pull -t kooldev/node:22 22
- docker build --pull -t kooldev/node:22-nginx 22-nginx
- docker build --pull -t kooldev/node:24 24