Last active
August 29, 2015 14:00
-
-
Save ksoichiro/11196195 to your computer and use it in GitHub Desktop.
Vagrant provisioning script for using Docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
apt-get update | |
apt-get install -y git build-essential libssl-dev | |
apt-get install -y curl | |
curl -sSL https://get.rvm.io | bash -s stable | |
source /usr/local/rvm/scripts/rvm | |
rvm requirements | |
rvm install 2.0.0-p353 | |
rvm use 2.0.0-p353 | |
echo 'source /usr/local/rvm/scripts/rvm' >> ~vagrant/.bashrc | |
apt-get install -y linux-image-generic-lts-raring linux-headers-generic-lts-raring | |
curl -s https://get.docker.io/ubuntu/ | sudo sh | |
# vagrant ssh | |
# sudo docker run -i -t ubuntu /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment