|
1 | | -FROM node:21-bookworm AS dep-builder |
| 1 | +FROM node:22-bookworm AS dep-builder |
2 | 2 | # Here we use the non-slim image to provide build-time deps (compilers and python), thus no need to install later. |
3 | 3 | # This effectively speeds up qemu-based cross-build. |
4 | 4 |
|
@@ -33,7 +33,7 @@ FROM debian:bookworm-slim AS dep-version-parser |
33 | 33 | # This stage is necessary to limit the cache miss scope. |
34 | 34 | # With this stage, any modification to package.json won't break the build cache of the next two stages as long as the |
35 | 35 | # 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. |
37 | 37 |
|
38 | 38 | WORKDIR /ver |
39 | 39 | COPY ./package.json /app/ |
|
45 | 45 |
|
46 | 46 | # --------------------------------------------------------------------------------------------------------------------- |
47 | 47 |
|
48 | | -FROM node:21-bookworm-slim AS docker-minifier |
| 48 | +FROM node:22-bookworm-slim AS docker-minifier |
49 | 49 | # The stage is used to further reduce the image size by removing unused files. |
50 | 50 |
|
51 | 51 | WORKDIR /app |
|
79 | 79 |
|
80 | 80 | # --------------------------------------------------------------------------------------------------------------------- |
81 | 81 |
|
82 | | -FROM node:21-bookworm-slim AS chromium-downloader |
| 82 | +FROM node:22-bookworm-slim AS chromium-downloader |
83 | 83 | # This stage is necessary to improve build concurrency and minimize the image size. |
84 | 84 | # Yeah, downloading Chromium never needs those dependencies below. |
85 | 85 |
|
@@ -111,7 +111,7 @@ RUN \ |
111 | 111 |
|
112 | 112 | # --------------------------------------------------------------------------------------------------------------------- |
113 | 113 |
|
114 | | -FROM node:21-bookworm-slim AS app |
| 114 | +FROM node:22-bookworm-slim AS app |
115 | 115 |
|
116 | 116 | LABEL org.opencontainers.image.authors="https://github.com/DIYgod/RSSHub" |
117 | 117 |
|
|
0 commit comments