diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 0cfd35e..4c86812 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,6 +1,3 @@ FROM mcr.microsoft.com/devcontainers/base:ubuntu -# Install BUN -RUN curl -fsSL https://bun.sh/install | bash - VOLUME ~/.gitconfig:/home/vscode/.gitconfig diff --git a/.devcontainer/post-create.sh b/.devcontainer/post-create.sh index 7f2ece9..2e5b0b5 100755 --- a/.devcontainer/post-create.sh +++ b/.devcontainer/post-create.sh @@ -16,3 +16,7 @@ git config --global alias.cb "checkout -b" git config --global alias.st "status -sb" git config --global alias.lg "log --pretty=format:'%Cred%h%Creset %C(bold)%cr%Creset %Cgreen<%an>%Creset %s' --max-count=30" git config --global alias.rollback "reset --soft HEAD~1" + +# Install BUN +curl -fsSL https://bun.sh/install | bash +echo '\n# bun\nexport BUN_INSTALL="$HOME/.bun"\nexport PATH=$BUN_INSTALL/bin:$PATH' >> ~/.zshrc \ No newline at end of file