added devcontainers

This commit is contained in:
2025-06-02 15:03:04 +02:00
parent 4313346efe
commit 6aaf7c8b8c
3 changed files with 25 additions and 3 deletions

View File

@@ -0,0 +1,15 @@
ARG VARIANT=latest
FROM oven/bun:${VARIANT}
RUN apt-get update \
&& apt-get -y install --no-install-recommends \
ca-certificates \
git \
nano \
vim-tiny \
&& apt-get auto-remove -y \
&& apt-get clean -y \
&& chsh -s $(which bash) bun \
&& echo 'export PS1="\e[01;32m\u\e[m:\e[01;34m\w\e[m\$ "' >> /home/bun/.bashrc
USER bun

View File

@@ -0,0 +1,10 @@
{
"name": "Bun",
"build": {
"dockerfile": "Dockerfile",
// Update 'VARIANT' to pick a Bun version.
"args": {
"VARIANT": "latest"
}
}
}