15 lines
395 B
Bash
Executable file
15 lines
395 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
case $OSTYPE in
|
|
darwin*)
|
|
brew cask install virtualbox
|
|
brew install docker docker-compose docker-machine
|
|
;;
|
|
linux*)
|
|
if [[ -f /etc/arch-release ]]; then
|
|
sudo pacman --needed --noconfirm -S docker docker-compose
|
|
sudo systemctl enable docker.service
|
|
sudo systemctl start docker.service
|
|
fi
|
|
esac
|