Skip to content

Commit

Permalink
chore(devcontainer): move bun setup step to post-create.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfg7 authored Feb 22, 2024
1 parent 0ae9c48 commit 69b2206
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions .devcontainer/post-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 69b2206

Please sign in to comment.