From dac55b72159deb9a8a61414faffcf1962c8a0414 Mon Sep 17 00:00:00 2001 From: "bojan.malinic" Date: Thu, 26 Nov 2026 14:17:51 +0100 Subject: [PATCH] Pin Node 22 for Docker UI builds node:lts now resolves to Node 26, which no longer ships corepack, so `corepack enable` fails with exit 127 and breaks the server and UI image builds. Pin to node:22, the version CI builds and tests ui-next against. Co-Authored-By: Claude Opus 5.5 --- docker/server/Dockerfile | 2 +- docker/ui/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/server/Dockerfile b/docker/server/Dockerfile index 9f926c32cb..b7eb0632f2 100644 --- a/docker/server/Dockerfile +++ b/docker/server/Dockerfile @@ -38,7 +38,7 @@ RUN if [ "$PREBUILT" = "true" ]; then \ # 1. UI builder stage # =========================================================================================================== # The UI build also produces architecture-neutral static assets. -FROM --platform=$BUILDPLATFORM node:lts AS ui-builder +FROM --platform=$BUILDPLATFORM node:22 AS ui-builder ARG PREBUILT=false ARG SKIP_UI=false diff --git a/docker/ui/Dockerfile b/docker/ui/Dockerfile index e32657b0fd..88356b106a 100644 --- a/docker/ui/Dockerfile +++ b/docker/ui/Dockerfile @@ -18,7 +18,7 @@ # =========================================================================================================== # 0. Build stage # =========================================================================================================== -FROM node:lts AS builder +FROM node:22 AS builder LABEL maintainer="Orkes OSS " COPY ui-next /conductor/ui-next