fix: restore armv7 docker base image (#337)

This commit is contained in:
Cita
2026-03-30 23:23:55 +08:00
committed by GitHub
parent eb65a2be88
commit 618ca0b9bf
2 changed files with 6 additions and 6 deletions
+4 -2
View File
@@ -1,5 +1,7 @@
# syntax=docker/dockerfile:1.7
FROM node:25-bookworm-slim AS builder
# Keep the Docker base on Node 22 because the official Node 24/25 slim images
# no longer publish linux/arm/v7 manifests, which breaks our armv7 Docker jobs.
FROM node:22-bookworm-slim AS builder
WORKDIR /app
@@ -17,7 +19,7 @@ COPY . .
RUN npm run build:web && npm run build:server
RUN --mount=type=cache,target=/root/.npm npm prune --omit=dev --no-audit --no-fund
FROM node:25-bookworm-slim
FROM node:22-bookworm-slim
WORKDIR /app