2016-10-27 06:32:50 -07:00
|
|
|
#!/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 --noconfirm -S docker docker-compose
|
|
|
|
sudo systemctl enable docker.service
|
|
|
|
sudo systemctl start docker.service
|
|
|
|
fi
|
|
|
|
esac
|