Skip to content

fix(docker): build the dashboard with Bun 1.4 - #231

Merged
ChiragAgg5k merged 1 commit into
mainfrom
fix/docker-bun-1.4
Nov 23, 2026
Merged

ChiragAgg5k merged 1 commit into
mainfrom
fix/docker-bun-1.4

Conversation

@ChiragAgg5k

@ChiragAgg5k ChiragAgg5k commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

The 0.57.9 release's Publish Docker Image job failed:

error: Unknown lockfile version
UnknownLockfileVersion: failed to parse lockfile: 'bun.lock'
ERROR: process "/bin/sh -c bun install --frozen-lockfile" did not complete successfully

Lock-file maintenance (614b4c8) rewrote dashboard/bun.lock as lockfileVersion: 2, which the Dockerfile's pinned oven/bun:1.3 image can't parse. CI and the release binary jobs use setup-bun without a version, so they already run Bun 1.4.5 and passed. Only the Docker image broke.

This bumps BUN_VERSION to 1.4, pinned to its digest (sha256:3aa040e5…, the same image as 1.4.5), the way the 1.3 pin was.

Verified: bun install --frozen-lockfile with Bun 1.4 succeeds on the current dashboard/package.json and bun.lock (133 packages). PR CI doesn't build the image, so the next release's Docker job is the end-to-end check.

Related: appwrite-labs/cloud#6671

Lock-file maintenance rewrote dashboard/bun.lock as lockfile v2, which the pinned Bun 1.3 image cannot parse, so the release's Docker image build failed on bun install --frozen-lockfile. CI and the release binaries already build with Bun 1.4.
@appwrite

appwrite Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Code review

Commit Status Tier Verdict Details
5a7e515 Reviewed Reviewed 🟢 S · Ready to merge ✅ Approved View review

The image version change addresses the lockfile compatibility issue without introducing another contract change.

The production Dockerfile now pins Bun 1.4 instead of Bun 1.3 for the dashboard build stage. Its digest matches the Bun image already referenced by the dashboard Dockerfiles.

Walkthrough (1)
File Change
Dockerfile Bumps the dashboard build image from pinned Bun 1.3 to pinned Bun 1.4.

Reviewed 5a7e515

Tip

Comment @appwrite review to re-run, or mention @appwrite with a question.

@appwrite appwrite Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Tier S · Looks good to merge. Summary

@ChiragAgg5k
ChiragAgg5k merged commit 52b67b7 into main Nov 23, 2026
20 checks passed
@ChiragAgg5k
ChiragAgg5k deleted the fix/docker-bun-1.4 branch November 23, 2026 16:08
@ChiragAgg5k ChiragAgg5k self-assigned this Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant