Forked from shirkey/install_dokku_to_debian_wheezy
Last active
August 29, 2015 14:02
-
-
Save neophob/a57b4893e6ab1d8fe3db to your computer and use it in GitHub Desktop.
works for dokku v0.2.3 aswell
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
####################################################################################################################### | |
# | |
# Purpose: Bash script to fix a few elements of the default Dokku script with running correctly on Debian Wheezy | |
# Author: Shirkey <[email protected]> | |
# License: MIT | |
# Tested with: | |
# * Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2+deb7u2 x86_64 GNU/Linux | |
# * v0.2.1 of Dokku installer script | |
# | |
####################################################################################################################### | |
# | |
# update apt sources for nginx, hashes to avoid issues with Ubuntu-specific | |
# repositories that are overwritten during docker-plugins-install step | |
# | |
cat > /etc/apt/sources.list.d/nginx-stable-wheezy.list << EOF | |
deb http://packages.dotdeb.org wheezy all | |
deb-src http://packages.dotdeb.org wheezy all | |
# | |
# | |
EOF | |
# | |
wget -qO- http://www.dotdeb.org/dotdeb.gpg | apt-key add - && apt-get update | |
# | |
# | |
# Install for apt-add-repository commands | |
apt-get install -y python-software-properties | |
# | |
# | |
# Run the installer script | |
wget -qO- https://raw.github.com/progrium/dokku/v0.2.3/bootstrap.sh | sudo DOKKU_TAG=v0.2.3 bash | |
---- | |
alternative: https://github.com/jro7/dokku-debian |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment