moved git dependency to Vagrantfile
This commit is contained in:
1 parent
3a80609166
commit
ba8a84d422
2 files changed
+1
-2
No files matched your search
@@ -19,7 +19,6 @@ plugins: pluginhook docker
|
|||||||
dependencies: gitreceive sshcommand pluginhook docker stack
|
dependencies: gitreceive sshcommand pluginhook docker stack
|
||||||
|
|
||||||
gitreceive:
|
gitreceive:
|
||||||
apt-get -y install git
|
|
||||||
wget -qO /usr/local/bin/gitreceive ${GITRECEIVE_URL}
|
wget -qO /usr/local/bin/gitreceive ${GITRECEIVE_URL}
|
||||||
chmod +x /usr/local/bin/gitreceive
|
chmod +x /usr/local/bin/gitreceive
|
||||||
test -f /home/git/receiver || gitreceive init
|
test -f /home/git/receiver || gitreceive init
|
||||||
|
|||||||
Vendored
+1
-1
@@ -10,7 +10,7 @@ Vagrant::configure("2") do |config|
|
|||||||
config.vm.box = BOX_NAME
|
config.vm.box = BOX_NAME
|
||||||
config.vm.box_url = BOX_URI
|
config.vm.box_url = BOX_URI
|
||||||
config.vm.synced_folder File.dirname(__FILE__), "/root/dokku"
|
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.network :forwarded_port, guest: 80, host: 8080
|
||||||
config.vm.hostname = "#{DOKKU_DOMAIN}"
|
config.vm.hostname = "#{DOKKU_DOMAIN}"
|
||||||
config.vm.network :private_network, ip: DOKKU_IP
|
config.vm.network :private_network, ip: DOKKU_IP
|
||||||
|
|||||||
Reference in new issue
Block a user