change directories for devcontainer
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
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
|
||||
@@ -1,19 +0,0 @@
|
||||
{
|
||||
"name": "Bun",
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile",
|
||||
"args": {
|
||||
"VARIANT": "latest"
|
||||
}
|
||||
},
|
||||
"containerEnv": {
|
||||
"GIT_REPO_URL": "https://scm.vilanet.fr/kriss/slot"
|
||||
},
|
||||
"customizations": {
|
||||
"jetbrains": {}
|
||||
},
|
||||
"forwardPorts": [5173],
|
||||
"workspaceFolder": "/workspace",
|
||||
"//": "workspaceMount: source=jb_devcontainer_sources_f31d2e11122d7a0f1e78fb3337cc2916,target=/workspace,type=volume",
|
||||
"//": "postCreateCommand: if [ ! -d .git ]; then git clone $GIT_REPO_URL .; fi"
|
||||
}
|
||||
Reference in New Issue
Block a user