Skip to content

Commit 709dc9a

Browse files
authored
chore: docker bump base image (#15829)
* chore: docker bump base image * chore: bump pnpm
1 parent 5513d4a commit 709dc9a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:21-bookworm AS dep-builder
1+
FROM node:22-bookworm AS dep-builder
22
# Here we use the non-slim image to provide build-time deps (compilers and python), thus no need to install later.
33
# This effectively speeds up qemu-based cross-build.
44

@@ -33,7 +33,7 @@ FROM debian:bookworm-slim AS dep-version-parser
3333
# This stage is necessary to limit the cache miss scope.
3434
# With this stage, any modification to package.json won't break the build cache of the next two stages as long as the
3535
# version unchanged.
36-
# node:21-bookworm-slim is based on debian:bookworm-slim so this stage would not cause any additional download.
36+
# node:22-bookworm-slim is based on debian:bookworm-slim so this stage would not cause any additional download.
3737

3838
WORKDIR /ver
3939
COPY ./package.json /app/
@@ -45,7 +45,7 @@ RUN \
4545

4646
# ---------------------------------------------------------------------------------------------------------------------
4747

48-
FROM node:21-bookworm-slim AS docker-minifier
48+
FROM node:22-bookworm-slim AS docker-minifier
4949
# The stage is used to further reduce the image size by removing unused files.
5050

5151
WORKDIR /app
@@ -79,7 +79,7 @@ RUN \
7979

8080
# ---------------------------------------------------------------------------------------------------------------------
8181

82-
FROM node:21-bookworm-slim AS chromium-downloader
82+
FROM node:22-bookworm-slim AS chromium-downloader
8383
# This stage is necessary to improve build concurrency and minimize the image size.
8484
# Yeah, downloading Chromium never needs those dependencies below.
8585

@@ -111,7 +111,7 @@ RUN \
111111

112112
# ---------------------------------------------------------------------------------------------------------------------
113113

114-
FROM node:21-bookworm-slim AS app
114+
FROM node:22-bookworm-slim AS app
115115

116116
LABEL org.opencontainers.image.authors="https://github.com/DIYgod/RSSHub"
117117

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180
"vite-tsconfig-paths": "4.3.2",
181181
"vitest": "1.6.0"
182182
},
183-
"packageManager": "pnpm@9.1.4",
183+
"packageManager": "pnpm@9.2.0",
184184
"engines": {
185185
"node": ">=22"
186186
}

0 commit comments

Comments
 (0)