Skip to content

Commit f13785e

Browse files
erwannbstclaude
andcommitted
chore(docker): bump Node base image, pnpm and pack to pick up security fixes
- node:24.4.0-slim -> node:24.22.1-bookworm-slim (Node.js security releases + refreshed Debian 12 packages: gnutls, pam, pcre2, gpgv, git-lfs) - pnpm 10.22.0 -> 10.34.7 (14 HIGH advisories in the copy shipped in the image) - buildpacksio/pack 0.39.1 -> 0.40.10 (Go stdlib, x/crypto, go-git, buildkit) Keeps .nvmrc, CI workflows, packageManager fields and CONTRIBUTING in sync. Refs #5736 Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent e0c8d80 commit f13785e

14 files changed

Lines changed: 20 additions & 20 deletions

File tree

‎.github/workflows/dokploy.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,11 +203,11 @@ jobs:
203203

204204
- uses: pnpm/action-setup@v6
205205
with:
206-
version: 10.22.0
206+
version: 10.34.7
207207

208208
- uses: actions/setup-node@v7
209209
with:
210-
node-version: 24.4.0
210+
node-version: 24.22.1
211211
cache: pnpm
212212

213213
- name: Generate OpenAPI specification

‎.github/workflows/pull-request.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: pnpm/action-setup@v6
2121
- uses: actions/setup-node@v7
2222
with:
23-
node-version: 24.4.0
23+
node-version: 24.22.1
2424
cache: "pnpm"
2525

2626
- name: Install Nixpacks

‎.github/workflows/sync-openapi-docs.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- uses: pnpm/action-setup@v6
2828
- uses: actions/setup-node@v7
2929
with:
30-
node-version: 24.4.0
30+
node-version: 24.22.1
3131
cache: "pnpm"
3232

3333
- name: Install dependencies

‎.nvmrc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
24.4.0
1+
24.22.1

‎CONTRIBUTING.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ feat: add new feature
5353

5454
Before you start, please make the clone based on the `canary` branch, since the `main` branch is the source of truth and should always reflect the latest stable release, also the PRs will be merged to the `canary` branch.
5555

56-
We use Node v24.4.0 and recommend this specific version. If you have nvm installed, you can run `nvm install 24.4.0 && nvm use` in the root directory.
56+
We use Node v24.22.1 and recommend this specific version. If you have nvm installed, you can run `nvm install 24.22.1 && nvm use` in the root directory.
5757

5858
```bash
5959
git clone https://github.com/dokploy/dokploy.git

‎Dockerfile‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# syntax=docker/dockerfile:1
2-
FROM node:24.4.0-slim AS base
2+
FROM node:24.22.1-bookworm-slim AS base
33
ENV PNPM_HOME="/pnpm"
44
ENV PATH="$PNPM_HOME:$PATH"
55
RUN corepack enable
6-
RUN corepack prepare pnpm@10.22.0 --activate
6+
RUN corepack prepare pnpm@10.34.7 --activate
77

88
FROM base AS build
99
COPY . /usr/src/app
@@ -62,7 +62,7 @@ ARG RAILPACK_VERSION=0.15.4
6262
RUN curl -sSL https://railpack.com/install.sh | bash
6363

6464
# Install buildpacks
65-
COPY --from=buildpacksio/pack:0.39.1 /usr/local/bin/pack /usr/local/bin/pack
65+
COPY --from=buildpacksio/pack:0.40.10 /usr/local/bin/pack /usr/local/bin/pack
6666

6767
EXPOSE 3000
6868

‎Dockerfile.cloud‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# syntax=docker/dockerfile:1
2-
FROM node:24.4.0-slim AS base
2+
FROM node:24.22.1-bookworm-slim AS base
33
ENV PNPM_HOME="/pnpm"
44
ENV PATH="$PNPM_HOME:$PATH"
55
RUN corepack enable
6-
RUN corepack prepare pnpm@10.22.0 --activate
6+
RUN corepack prepare pnpm@10.34.7 --activate
77

88
FROM base AS build
99
COPY . /usr/src/app

‎Dockerfile.schedule‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# syntax=docker/dockerfile:1
2-
FROM node:24.4.0-slim AS base
2+
FROM node:24.22.1-bookworm-slim AS base
33
ENV PNPM_HOME="/pnpm"
44
ENV PATH="$PNPM_HOME:$PATH"
55
RUN corepack enable
6-
RUN corepack prepare pnpm@10.22.0 --activate
6+
RUN corepack prepare pnpm@10.34.7 --activate
77

88
FROM base AS build
99
COPY . /usr/src/app

‎Dockerfile.server‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# syntax=docker/dockerfile:1
2-
FROM node:24.4.0-slim AS base
2+
FROM node:24.22.1-bookworm-slim AS base
33
ENV PNPM_HOME="/pnpm"
44
ENV PATH="$PNPM_HOME:$PATH"
55
RUN corepack enable
6-
RUN corepack prepare pnpm@10.22.0 --activate
6+
RUN corepack prepare pnpm@10.34.7 --activate
77

88
FROM base AS build
99
COPY . /usr/src/app

‎apps/api/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"tsx": "^4.22.4",
3232
"typescript": "^7.0.2"
3333
},
34-
"packageManager": "pnpm@10.22.0",
34+
"packageManager": "pnpm@10.34.7",
3535
"engines": {
3636
"node": "^24.4.0",
3737
"pnpm": ">=10.22.0"

0 commit comments

Comments
 (0)