moved git dependency to Vagrantfile

This commit is contained in:
Christoph Hartmann
2013-08-03 09:33:15 +02:00
parent 3a80609166
commit ba8a84d422
2 changed files with 1 additions and 2 deletions

View File

@@ -19,7 +19,6 @@ plugins: pluginhook docker
dependencies: gitreceive sshcommand pluginhook docker stack
gitreceive:
apt-get -y install git
wget -qO /usr/local/bin/gitreceive ${GITRECEIVE_URL}
chmod +x /usr/local/bin/gitreceive
test -f /home/git/receiver || gitreceive init

2
Vagrantfile vendored
View File

@@ -10,7 +10,7 @@ Vagrant::configure("2") do |config|
config.vm.box = BOX_NAME
config.vm.box_url = BOX_URI
config.vm.synced_folder File.dirname(__FILE__), "/root/dokku"
config.vm.provision :shell, :inline => "cd /root/dokku && make all"
config.vm.provision :shell, :inline => "apt-get -y install git && cd /root/dokku && make all"
config.vm.network :forwarded_port, guest: 80, host: 8080
config.vm.hostname = "#{DOKKU_DOMAIN}"
config.vm.network :private_network, ip: DOKKU_IP