fix(ci): use full node:22 image for base-node-deps build

node:20-slim lacks wget and curl, causing all registry connectivity
checks to silently fail and report reachable registries as UNREACHABLE.
Switching to the full node:22 image provides both tools and upgrades
to the current LTS.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-16 00:44:40 +00:00
parent e287d869fe
commit c3eeb382bd

View File

@@ -1,13 +1,13 @@
# metabuilder/base-node-deps
#
# Node 20 + all 33 workspace npm packages pre-installed.
# Node 22 + all 33 workspace npm packages pre-installed.
# App Dockerfiles copy node_modules from this image instead of running npm ci.
#
# Build: docker build -f Dockerfile.node-deps -t metabuilder/base-node-deps:latest ../../
# App Dockerfiles:
# COPY --from=metabuilder/base-node-deps /app/node_modules ./node_modules
FROM node:20-slim
FROM node:22
WORKDIR /app