Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stylesuxx/be7b65c30979ee31e8ff to your computer and use it in GitHub Desktop.
Save stylesuxx/be7b65c30979ee31e8ff to your computer and use it in GitHub Desktop.
#######################################################################################################################
#
# Purpose: Bash script to fix a few elements of the default Dokku script with running correctly on Debian Wheezy
# Run as root
# Author: Shirkey <dev@shirkey.me>
# 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 and spaces 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.3.15/bootstrap.sh | DOKKU_TAG=v0.3.15 bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment