Revert "chore: bump base images for docker images (#7540)"

This reverts commit 59c84627286f68b48457a4b1315ae5ad48ce8912.

si458 committed Jan 10, 2026 at 23:13 UTC 8c99dea628a7e5d100da070d222d9b062e52e080
2 files changed +7 -6
docker/Dockerfile
+4 -3
@@ -1,5 +1,5 @@
1 ### STAGE 1 BUILDING.
2 -FROM node:24-alpine3.23 AS builder
2 +FROM node:22-alpine3.22 AS builder
3
4 # Any value inside one of the disable ARGs will be accepted.
5 ARG DISABLE_EXTRACT="yes"
@@ -47,7 +47,7 @@ RUN rm -rf /opt/meshcentral/meshcentral/docker /opt/meshcentral/meshcentral/node
47
48 ### STAGE 2 PRECOMPILE DEPS MODULE
49
50 -FROM node:24-alpine3.23 AS dep-compiler
50 +FROM node:22-alpine3.22 AS dep-compiler
51
52 RUN echo -e "----------\nINSTALLING ALPINE PACKAGES...\n----------"; \
53 apk add --no-cache --update \
@@ -63,7 +63,8 @@ RUN jq '.dependencies += {"modern-syslog": "1.2.0", "telegram": "2.26.22"}' pack
63
64 ### STAGE 3 BUILDING.
65
66 -FROM node:24-alpine3.23 AS finalizer
66 +FROM node:22-alpine3.22 AS finalizer
67 +#FROM alpine:3.22 AS finalizer
68
69 # copy files from previous layer
70 COPY --from=dep-compiler /opt/meshcentral/meshcentral /opt/meshcentral/meshcentral
docker/Dockerfile-debian
+3 -3
@@ -1,5 +1,5 @@
1 ### STAGE 1 BUILDING.
2 -FROM node:24-trixie-slim AS builder
2 +FROM node:22-trixie-slim AS builder
3
4 # Any value inside one of the disable ARGs will be accepted.
5 ARG DISABLE_EXTRACT="yes"
@@ -47,7 +47,7 @@ RUN rm -rf /opt/meshcentral/meshcentral/docker /opt/meshcentral/meshcentral/node
47
48 ### STAGE 2 PRECOMPILE DEPS MODULE
49
50 -FROM node:24-trixie-slim AS dep-compiler
50 +FROM node:22-trixie-slim AS dep-compiler
51
52 ENV NODE_ENV="production"
53
@@ -89,7 +89,7 @@ RUN case "$INCLUDE_MONGODB_TOOLS" in \
89
90 ### STAGE 4 BUILDING.
91
92 -FROM node:24-trixie-slim AS finalizer
92 +FROM node:22-trixie-slim AS finalizer
93
94 # Copy files from previous layers
95 COPY --from=dep-compiler /opt/meshcentral/meshcentral /opt/meshcentral/meshcentral