From 403d40ab8cef8e9f559dc51b933bf4d2e3f595a5 Mon Sep 17 00:00:00 2001 From: Kenneth Date: Sat, 28 Feb 2026 01:09:08 +0000 Subject: [PATCH] Install bun from Dockerfile instead of devcontainer feature Co-authored-by: Ona --- .devcontainer/Dockerfile | 4 ++++ .devcontainer/devcontainer.json | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 2510926..ed3f8bc 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -4,3 +4,7 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ && apt-get -y install --no-install-recommends \ curl unzip git ca-certificates \ && rm -rf /var/lib/apt/lists/* + +RUN curl -fsSL https://bun.sh/install | bash \ + && ln -s /root/.bun/bin/bun /usr/local/bin/bun \ + && ln -s /root/.bun/bin/bunx /usr/local/bin/bunx diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 3db225a..67b3c52 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -4,8 +4,5 @@ "context": ".", "dockerfile": "Dockerfile" }, - "features": { - "ghcr.io/nickvdyck/devcontainer-features/bun:1": {} - }, "postCreateCommand": "bun install && cd example && bun install" }