Skip to content

Instantly share code, notes, and snippets.

@afex
Created February 12, 2014 03:23
Show Gist options
  • Save afex/8949557 to your computer and use it in GitHub Desktop.
Save afex/8949557 to your computer and use it in GitHub Desktop.
drone vagrantfile
Vagrant.configure("2") do |config|
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.provision "shell",
inline: "apt-get -y install curl; curl -s https://get.docker.io/ubuntu/ | sudo sh; usermod -a -G docker vagrant"
config.vm.provision "shell",
inline: "wget http://downloads.drone.io/latest/drone.deb; sudo dpkg -i drone.deb"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment