Skip to content

Use baseline bun install to be able to run on older (non-AVX2 supportive) cpus.#11

Merged
ikraamg merged 3 commits intomainfrom
fix/synology-early-diagnostics
Jan 9, 2026
Merged

Use baseline bun install to be able to run on older (non-AVX2 supportive) cpus.#11
ikraamg merged 3 commits intomainfrom
fix/synology-early-diagnostics

Conversation

@ikraamg
Copy link
Copy Markdown
Collaborator

@ikraamg ikraamg commented Jan 9, 2026

Attempts to solve: #5

ikraamg and others added 3 commits January 9, 2026 13:44
Necessary to support Synology NAS (DS918+), older Proxmox VMs, and other
systems with CPUs lacking AVX2 instructions.

The default Bun build uses AVX2 optimizations that crash on these systems.
Using BUN_RUNTIME=baseline installs a compatible build.

Issue: #5

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Necessary to streamline developer onboarding by removing a manual step.

The dev scripts now automatically create options-dev.json from the example
file when missing, reducing friction for new contributors. Also simplified
the entrypoint script by removing verbose startup messages.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The official oven/bun Docker images ship with baseline x64 builds,
providing CPU compatibility for systems without AVX2 (Synology NAS,
older Proxmox VMs). This eliminates manual installation with
BUN_RUNTIME=baseline.

Benefits:
- Faster builds (Bun pre-installed in base image)
- Simpler Dockerfile (14 fewer lines)
- Official image maintained by Oven team
- Pinned version (1.3.5) for reproducibility

See: oven-sh/bun#21623

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@ikraamg ikraamg merged commit 4dc091a into main Jan 9, 2026
8 checks passed
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