Replace dokku-installer.rb with dokku-installer.py

The python version should allow us to remove any ruby dependencies and should also slightly speed up dokku installation. All LSB-compliant distributions should have python, so we should be okay depending upon it.

Closes #1783
Closes #1786
This commit is contained in:
Jose Diaz-Gonzalez
2015-12-22 00:57:58 -05:00
parent 32f1bc5396
commit e323770f89
7 changed files with 226 additions and 164 deletions

2
debian/preinst vendored
View File

@@ -13,7 +13,7 @@ case "$1" in
rm -f $INIT_CONF
touch $INIT_CONF
echo 'start on runlevel [2345]' >> $INIT_CONF
echo 'exec /usr/local/share/dokku/contrib/dokku-installer.rb selfdestruct' >> $INIT_CONF
echo 'exec /usr/local/share/dokku/contrib/dokku-installer.py selfdestruct' >> $INIT_CONF
rm -f $NGINX_CONF
touch $NGINX_CONF