Last active
August 29, 2015 14:17
-
-
Save rasheedamir/693b781894029792f005 to your computer and use it in GitHub Desktop.
This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
VAGRANTFILE_API_VERSION = "2" | |
$script = <<SCRIPT | |
apt-get update | |
# Use docker's install script to install latest version. | |
curl -s https://get.docker.io/ubuntu/ | sudo sh | |
SCRIPT | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# Use Ubuntu Trusty 64 (14.04) box. | |
config.vm.box = "ubuntu/trusty64" | |
# Provision using inline script defined above. | |
config.vm.provision "shell", inline: $script | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment