fix: install bun then move binary to /usr/local/bin
All checks were successful
Build Devpod / build (push) Successful in 2m10s
Build & Release / build (push) Successful in 17s

This commit is contained in:
Ryan Moon
2026-04-04 11:38:06 -05:00
parent 2b141d45f3
commit 199b9ab3b3

View File

@@ -12,9 +12,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
nano vim htop netcat-openbsd dnsutils iputils-ping \
&& rm -rf /var/lib/apt/lists/*
# Bun — install to /usr/local so it's on the image filesystem, not the /root PVC
RUN curl -fsSL https://bun.sh/install | bash -s -- --install-dir /usr/local/bin \
&& ln -sf /usr/local/bin/bun /usr/local/bin/bunx
# Bun — install then move to /usr/local/bin so it's on the image filesystem, not the /root PVC
RUN curl -fsSL https://bun.sh/install | bash \
&& mv /root/.bun/bin/bun /usr/local/bin/bun \
&& ln -sf /usr/local/bin/bun /usr/local/bin/bunx \
&& rm -rf /root/.bun
# code-server (VS Code in browser)
RUN curl -fsSL https://code-server.dev/install.sh | sh