From 9e8241b187cc5aefe81b297c22ec18137ef484cf Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 11 Jul 2026 23:52:41 +0000 Subject: [PATCH] fix(vscode-cloud): install Bun alongside Node.js in the container image Every other language runtime (Python, Go, Rust, Java, PHP, Ruby, Node.js) gets a dedicated, reliable install step in the Dockerfile, but Bun was missing one entirely and only had a chance of being installed indirectly through the unrelated shell-setup script run much later in the build. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01TG2cCdrv6Bo9uUxBeyZivb --- apps/vscode-cloud/Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/vscode-cloud/Dockerfile b/apps/vscode-cloud/Dockerfile index 68730e3..c080cd9 100644 --- a/apps/vscode-cloud/Dockerfile +++ b/apps/vscode-cloud/Dockerfile @@ -75,6 +75,12 @@ RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \ && apt-get install -y --no-install-recommends nodejs \ && rm -rf /var/lib/apt/lists/* +# ── Bun ─────────────────────────────────────────────────────────────────────── +# Installed system-wide (BUN_INSTALL=/usr/local) so it's on PATH for every user, +# same as the npm globals below via NPM_CONFIG_PREFIX. +RUN curl -fsSL https://bun.sh/install | BUN_INSTALL=/usr/local bash \ + && chmod -R a+rx /usr/local/bin/bun + # ── Global npm tools ────────────────────────────────────────────────────────── # AI coding CLIs + TypeScript + language servers for VS Code IntelliSense ENV NPM_CONFIG_PREFIX=/usr/local