Merge pull request 'docker: digest-pin the node:22-bookworm-slim build base' (#2) from mirror/node-digest-pin into main
build-and-deploy / build (push) Failing after 12m42s
build-and-deploy / build (push) Failing after 12m42s
Reviewed-on: #2
This commit was merged in pull request #2.
This commit is contained in:
+4
-1
@@ -3,7 +3,10 @@
|
|||||||
# pinned nginx-unprivileged runtime serving the static dist/.
|
# pinned nginx-unprivileged runtime serving the static dist/.
|
||||||
|
|
||||||
# ---- build stage ----------------------------------------------------------
|
# ---- build stage ----------------------------------------------------------
|
||||||
FROM node:22-bookworm-slim AS build
|
# Digest-pinned (was a floating tag → the docker.io re-resolve was the CI "build hang"). With the bastion
|
||||||
|
# runner pointed at the zot pull-through mirror, this exact layer is fetched once and cached. Bump the digest
|
||||||
|
# when intentionally moving Node. node:22-bookworm-slim index digest resolved 2026-06-23.
|
||||||
|
FROM node:22-bookworm-slim@sha256:d9f850096136edbc402debdd8729579a288aac64574ada0ff4db26b6ae58b0b2 AS build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Install deps from the lockfile only first (better layer caching).
|
# Install deps from the lockfile only first (better layer caching).
|
||||||
|
|||||||
Reference in New Issue
Block a user