Sign inSign up

karpulix/devcontainers-vscode-bun-sh

By karpulix

•Updated about 2 years ago

Devcontainer with bun.sh for VSCode; Based mcr.microsoft.com/devcontainers/typescript-node:22

Image
0

120

karpulix/devcontainers-vscode-bun-sh repository overview

⁠Bun for running devcontainer in VSCode

⚠️ this repo doesn't have latest tag, there are only tags of specifics versions

Available tags: bun-v1.1.24⁠

This repo is designed to create a development container tailored for a bun.sh⁠ environment. It builds upon the mcr.microsoft.com/devcontainers/typescript-node:22 base image, Additionally includes TypeScript and Node.js.


⁠Example of .devcontainer/devcontainer.json
{
    "name": "Bun Project",
    "image": "karpulix/devcontainers-vscode-bun-sh:bun-v1.1.24", 
    "service": "bun",
    "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
    "forwardPorts": [
        3173
    ],
    "customizations": {
       "vscode": {
          "extensions": [
              "ms-azuretools.vscode-docker"
	   ]
       }
    }
}
⁠Source code of Dockerfile (:bun-v1.1.24)
FROM mcr.microsoft.com/devcontainers/typescript-node:22
RUN apt-get update && apt-get install -y \
    bash-completion \
    iputils-ping
USER node
RUN curl -fsSL https://bun.sh/install | bash -s "bun-v1.1.24"

Repo in GitHub karpulixdocker/devcontainers-vscode-bun-sh⁠

Tag summary

Content type

Image

Digest

sha256:f8c4f3760…

Size

647.3 MB

Last updated

about 2 years ago

docker pull karpulix/devcontainers-vscode-bun-sh:bun-v1.1.24