build(docker): vendor bun from the base image #19

Merged
kalmyk merged 1 commit from codex/bilig-docker-bun into main 2026-03-27 09:32:20 +00:00
Owner

Summary

  • stop curl-installing Bun from bun.sh during the Docker build
  • copy the Bun binary from oven/bun:1.3.10 into the build stage instead
  • keep the rest of the Node + pnpm build flow unchanged

Validation

  • pnpm lint
  • docker buildx build --target web-runtime --load -t bilig-web:test . now gets past Bun install and reaches pnpm network fetch
  • docker buildx build --target sync-runtime --load -t bilig-sync:test . now gets past Bun install and reaches pnpm network fetch
## Summary - stop curl-installing Bun from `bun.sh` during the Docker build - copy the Bun binary from `oven/bun:1.3.10` into the build stage instead - keep the rest of the Node + pnpm build flow unchanged ## Validation - `pnpm lint` - `docker buildx build --target web-runtime --load -t bilig-web:test .` now gets past Bun install and reaches pnpm network fetch - `docker buildx build --target sync-runtime --load -t bilig-sync:test .` now gets past Bun install and reaches pnpm network fetch
build(docker): vendor bun from the base image
Some checks failed
forgejo-ci / strict-verify (pull_request) Failing after 1m3s
9e968efee3
kalmyk merged commit afe89f1ddb into main 2026-03-27 09:32:20 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kalmyk/bilig!19
No description provided.