mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
devcontainer/on-create-command: do more stuff.
- fix permissions - install more gems/formulae - remove system shellcheck that won't be used
This commit is contained in:
parent
876b0dc759
commit
d8940d3cae
@ -1,10 +1,22 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
# fix permissions so Homebrew and Bundler don't complain
|
||||||
|
sudo chmod -R g-w,o-w /home/linuxbrew
|
||||||
|
|
||||||
|
# install Homebrew's development gems
|
||||||
|
brew install-bundler-gems
|
||||||
|
|
||||||
|
# install Homebrew formulae we might need
|
||||||
|
brew install shellcheck shfmt gh gnu-tar
|
||||||
|
|
||||||
|
# cleanup any mess
|
||||||
|
brew cleanup
|
||||||
|
|
||||||
|
# install some useful development things
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y \
|
sudo apt-get install -y \
|
||||||
-o Dpkg::Options::=--force-confdef \
|
-o Dpkg::Options::=--force-confdef \
|
||||||
-o Dpkg::Options::=--force-confnew \
|
-o Dpkg::Options::=--force-confnew \
|
||||||
zsh \
|
zsh \
|
||||||
shellcheck \
|
|
||||||
zsh-autosuggestions
|
zsh-autosuggestions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user