Skip to content

Commit 5584fd4

Browse files
claudef3l1x
authored andcommitted
Add NodeJS 25 (Alpine 3.23)
NodeJS 25 is packaged in the Alpine 3.23 community repository (nodejs-current). Also registers the image in the Makefile, the CI matrix and the README. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CuH1NVw2JMVnBbUKHHHFXr
1 parent 41b899a commit 5584fd4

4 files changed

Lines changed: 15 additions & 0 deletions

File tree

‎.github/workflows/docker.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
- image: v22
3333
- image: v23
3434
- image: v24
35+
- image: v25
3536

3637
fail-fast: false
3738

‎Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ build-v21: _docker-build-v21
2828
build-v22: _docker-build-v22
2929
build-v23: _docker-build-v23
3030
build-v24: _docker-build-v24
31+
build-v25: _docker-build-v25

‎README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Ready-to-use images for NodeJS.
1515

1616
| NodeJS | OS | Tag |
1717
|-----------------|--------------|---------------|
18+
| NodeJS 25 | Alpine v3.23 | v25 |
1819
| NodeJS 24 | Alpine v3.23 | v24 |
1920
| NodeJS 23 | Alpine v3.21 | v23 |
2021
| NodeJS 22 | Alpine v3.22 | v22 |

‎v25/Dockerfile‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM dockette/alpine:3.23
2+
3+
RUN echo '@community http://nl.alpinelinux.org/alpine/v3.23/community' >> /etc/apk/repositories && \
4+
apk update && apk upgrade && \
5+
# DEPENDENCIES #############################################################
6+
apk add --update git && \
7+
# NODEJS ###################################################################
8+
apk add --update nodejs-current@community npm && \
9+
# CLEAN UP #################################################################
10+
rm -rf /var/cache/apk/*
11+
12+
CMD nodejs

0 commit comments

Comments
 (0)