From d2350a642754abd092d9cb1265e216fa337e4d71 Mon Sep 17 00:00:00 2001 From: openhands Date: Thu, 8 Oct 2026 17:19:06 +0200 Subject: [PATCH] fix(ci): install bash in the Docker build stage The build script now runs every heavy command through scripts/with-memory-cap.sh, which is bash (arrays, BASH_REMATCH). Alpine's node image ships busybox ash, not bash, so the builder stage failed with `sh: bash: not found` (exit 127): ci-deploy.sh could not build the image. Verified: full docker build passes and compiles all 279 routes. --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9eddc7c6..9bff7de1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,9 +3,11 @@ FROM node:26.10.0-alpine AS migrations WORKDIR /app ENV NEXT_TELEMETRY_DISABLED=1 -# Installeer git en pnpm v12 +# Installeer git, bash en pnpm v12. bash is nodig voor +# scripts/with-memory-cap.sh (gebruikt bashisme zoals arrays en BASH_REMATCH); +# Alpine levert geen bash mee. RUN --mount=type=cache,target=/var/cache/apk \ - apk add --no-cache git \ + apk add --no-cache git bash \ && npm install -g pnpm@12.10.1 # Stel het PATH zo in dat Alpine pnpm gegarandeerd overal herkent