Skip to content

Instantly share code, notes, and snippets.

@shirkey
Created February 21, 2014 17:54
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save shirkey/9139468 to your computer and use it in GitHub Desktop.
Save shirkey/9139468 to your computer and use it in GitHub Desktop.
Installation of Dokku to Debian Wheezy -- fixes some repository pointers that would otherwise fail during the standard installation script for Dokku v0.2.1
#######################################################################################################################
#
# Purpose: Bash script to fix a few elements of the default Dokku script with running correctly on Debian Wheezy
# 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 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.1/bootstrap.sh | sudo DOKKU_TAG=v0.2.1 bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment