Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(docker): pin turbo version in build images (#12265)

Max Deichmann9f896dd31f90
diff --git a/web/Dockerfile b/web/Dockerfile
index 317b2cef2f..71b5003417 100644
--- a/web/Dockerfile
+++ b/web/Dockerfile
@@ -6,7 +6,8 @@ FROM --platform=${TARGETPLATFORM:-linux/amd64} node:24-alpine AS alpine
RUN apk update && apk upgrade --no-cache libcrypto3 libssl3 libc6-compat busybox ssl_client
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine AS base
-RUN npm install turbo@^2.8.10 --global
+# Pin turbo to avoid nondeterministic prune output from future patch releases.
+RUN npm install [email protected] --global
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
diff --git a/worker/Dockerfile b/worker/Dockerfile
index 5ee41bb218..b057e9ab20 100644
--- a/worker/Dockerfile
+++ b/worker/Dockerfile
@@ -6,7 +6,8 @@ FROM --platform=${TARGETPLATFORM:-linux/amd64} node:24-alpine AS alpine
RUN apk update && apk upgrade --no-cache libcrypto3 libssl3 libc6-compat busybox ssl_client
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine AS base
-RUN npm install turbo@^2.8.10 --global
+# Pin turbo to avoid nondeterministic prune output from future patch releases.
+RUN npm install [email protected] --global
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable