Skip to content

Commit 12352a0

Browse files
authored
fix(supervisor): bump turbo to fix docker build (#4052)
The supervisor image build has been failing since `@trigger.dev/core` gained an `ai` peer dependency. `turbo prune` (2.5.4) generates a pruned lockfile that references the `ai@6.0.116(zod@3.25.76)` snapshot without including the entry itself, which causes `pnpm fetch --frozen-lockfile` to abort. Bumping to 2.10.0 fixes the pnpm v9 peer dep snapshot pruning. Updated both Containerfiles for consistency. Example failure here: https://github.com/triggerdotdev/trigger.dev/actions/runs/28225353375/job/83618124564 Broken since: c06005b
1 parent 4fde283 commit 12352a0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/supervisor/Containerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ WORKDIR /app
55
FROM node-22-alpine AS pruner
66

77
COPY --chown=node:node . .
8-
RUN npx -q turbo@2.5.4 prune --scope=supervisor --docker
8+
RUN npx -q turbo@2.10.0 prune --scope=supervisor --docker
99

1010
FROM node-22-alpine AS base
1111

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ FROM ${NODE_IMAGE} AS pruner
88
WORKDIR /triggerdotdev
99

1010
COPY --chown=node:node . .
11-
RUN npx -q turbo@2.5.4 prune --scope=webapp --docker
11+
RUN npx -q turbo@2.10.0 prune --scope=webapp --docker
1212
RUN find . -name "node_modules" -type d -prune -exec rm -rf '{}' +
1313

1414
# Base strategy to have layer caching

0 commit comments

Comments
 (0)