diff --git a/Dockerfile.devpod b/Dockerfile.devpod index 58481da..b082352 100644 --- a/Dockerfile.devpod +++ b/Dockerfile.devpod @@ -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