From 4a3ba3b986aae7dc232363452563c02abe49d1d7 Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Wed, 3 Jun 2026 09:22:42 +0200 Subject: [PATCH] perf: switch build stages to Alpine for faster CI pulls MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - node:20-bookworm → node:20-alpine (350MB → 130MB) - maven:3-eclipse-temurin-21 → maven:3-eclipse-temurin-21-alpine (630MB → 200MB) Runtime stage (eclipse-temurin:21-jre-alpine) unchanged — final image size stays the same, but CI caches and pulls are faster. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 24f9335..8d49537 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Dostalgia — Quarkus multi-stage build # ─── 1. Build frontend ─────────────────────────── -FROM node:20-bookworm AS frontend +FROM node:20-alpine AS frontend WORKDIR /build COPY frontend/package.json frontend/package-lock.json ./ RUN npm ci 2>/dev/null || npm install --legacy-peer-deps @@ -9,7 +9,7 @@ COPY frontend/ ./ RUN npm run build # ─── 2. Build Quarkus app ──────────────────────── -FROM maven:3-eclipse-temurin-21 AS build +FROM maven:3-eclipse-temurin-21-alpine AS build WORKDIR /build COPY pom.xml ./ COPY src ./src