From 44d910776f0017b069101d52af46f5cea699ff8d Mon Sep 17 00:00:00 2001 From: GurliGebis Date: Sat, 1 Aug 2026 15:52:01 +0200 Subject: [PATCH] Dockerfile: fix vite+ installer failing in the ui build stage (#32406) --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0b88e958a..02a63044e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,10 @@ # STEP 1 build ui FROM --platform=$BUILDPLATFORM node:26-alpine AS node -RUN apk update && apk add --no-cache make && curl -fsSL https://vite.plus | bash +RUN apk update && apk add --no-cache make curl bash && curl -fsSL https://vite.plus | bash + +# the installer only wires vp into interactive shell rc files, which RUN steps don't source +ENV PATH="/root/.vite-plus/bin:${PATH}" WORKDIR /build