chore: docker bump base image (#15829)

* chore: docker bump base image

* chore: bump pnpm
This commit is contained in:
Tony
2024-06-06 15:53:09 +08:00
committed by GitHub
parent 5513d4a0fd
commit 709dc9a6e2
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -1,4 +1,4 @@
FROM node:21-bookworm AS dep-builder
FROM node:22-bookworm AS dep-builder
# Here we use the non-slim image to provide build-time deps (compilers and python), thus no need to install later.
# This effectively speeds up qemu-based cross-build.
@@ -33,7 +33,7 @@ FROM debian:bookworm-slim AS dep-version-parser
# This stage is necessary to limit the cache miss scope.
# With this stage, any modification to package.json won't break the build cache of the next two stages as long as the
# version unchanged.
# node:21-bookworm-slim is based on debian:bookworm-slim so this stage would not cause any additional download.
# node:22-bookworm-slim is based on debian:bookworm-slim so this stage would not cause any additional download.
WORKDIR /ver
COPY ./package.json /app/
@@ -45,7 +45,7 @@ RUN \
# ---------------------------------------------------------------------------------------------------------------------
FROM node:21-bookworm-slim AS docker-minifier
FROM node:22-bookworm-slim AS docker-minifier
# The stage is used to further reduce the image size by removing unused files.
WORKDIR /app
@@ -79,7 +79,7 @@ RUN \
# ---------------------------------------------------------------------------------------------------------------------
FROM node:21-bookworm-slim AS chromium-downloader
FROM node:22-bookworm-slim AS chromium-downloader
# This stage is necessary to improve build concurrency and minimize the image size.
# Yeah, downloading Chromium never needs those dependencies below.
@@ -111,7 +111,7 @@ RUN \
# ---------------------------------------------------------------------------------------------------------------------
FROM node:21-bookworm-slim AS app
FROM node:22-bookworm-slim AS app
LABEL org.opencontainers.image.authors="https://github.com/DIYgod/RSSHub"
+1 -1
View File
@@ -180,7 +180,7 @@
"vite-tsconfig-paths": "4.3.2",
"vitest": "1.6.0"
},
"packageManager": "pnpm@9.1.4",
"packageManager": "pnpm@9.2.0",
"engines": {
"node": ">=22"
}