From 79a365404b84f266f84db72d166df25ee2e45367 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 17 Jan 2026 15:02:57 +0000 Subject: [PATCH 1/2] Initial plan From 24f55dbb206fe9d5fe795d55394c0840c761d14c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 17 Jan 2026 15:06:09 +0000 Subject: [PATCH 2/2] Fix ARM64 Docker build by using npm ci with optional dependencies Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com> --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 18442a2..b96e3b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,9 +11,9 @@ COPY packages/spark-tools ./packages/spark-tools # Copy spark wrapper package COPY packages/spark ./packages/spark -# Install dependencies - npm ci doesn't fully support workspace protocol in all versions -# So we use npm install which resolves workspaces correctly -RUN npm install --legacy-peer-deps +# Install dependencies with npm ci for consistent, reproducible builds +# Include optional dependencies to ensure platform-specific binaries (like @rollup/rollup-linux-arm64-musl) are installed +RUN npm ci --include=optional # Copy remaining application files COPY . .