Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
acd28f4647 | ||
|
|
e5976e62c7 | ||
|
|
55d4fb788e | ||
|
|
f39b38b25d | ||
|
|
9433ab3076 | ||
|
|
2b59932ba5 | ||
|
|
d3361d21d8 | ||
|
|
a45be794cc | ||
|
|
8e37d04dda | ||
|
|
1f6930294a | ||
|
|
1bf30bdcb1 |
21
HISTORY.md
21
HISTORY.md
@@ -1,5 +1,26 @@
|
|||||||
# History
|
# History
|
||||||
|
|
||||||
|
## 0.3.25
|
||||||
|
|
||||||
|
This release is a bugfix release fixing a broken 0.3.25 apt-get installation.
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- #1398 @josegonzalez Revert "Remove `dokku plugins-install` from postinst hook
|
||||||
|
|
||||||
|
## 0.3.24
|
||||||
|
|
||||||
|
This release is a bugfix release covering dokku packaging.
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- #1397: @josegonzalez Use https docker apt repo
|
||||||
|
- #1394: @josegonzalez Remove `dokku plugins-install` from postinst hook
|
||||||
|
|
||||||
|
### Docs Changes
|
||||||
|
|
||||||
|
- #1395: @adrianmoya Adding fqdn requirement
|
||||||
|
|
||||||
## 0.3.23
|
## 0.3.23
|
||||||
|
|
||||||
This release is a bugfix release mostly covering installation and nginx issues. As well, we launched a nicer documentation site [here](http://progrium.viewdocs.io/dokku/). Thanks to all of our contributors for making this a great release!
|
This release is a bugfix release mostly covering installation and nginx issues. As well, we launched a nicer documentation site [here](http://progrium.viewdocs.io/dokku/). Thanks to all of our contributors for making this a great release!
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -88,7 +88,7 @@ docker: aufs
|
|||||||
usermod -aG docker dokku
|
usermod -aG docker dokku
|
||||||
ifndef CI
|
ifndef CI
|
||||||
curl -sSL https://get.docker.com/gpg | apt-key add -
|
curl -sSL https://get.docker.com/gpg | apt-key add -
|
||||||
echo deb http://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list
|
echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list
|
||||||
apt-get update
|
apt-get update
|
||||||
ifdef DOCKER_VERSION
|
ifdef DOCKER_VERSION
|
||||||
apt-get install -qq -y lxc-docker-${DOCKER_VERSION}
|
apt-get install -qq -y lxc-docker-${DOCKER_VERSION}
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ Docker powered mini-Heroku. The smallest PaaS implementation you've ever seen. S
|
|||||||
|
|
||||||
To install the latest stable release, you can run the following commands as a user that has access to `sudo`:
|
To install the latest stable release, you can run the following commands as a user that has access to `sudo`:
|
||||||
|
|
||||||
wget https://raw.github.com/progrium/dokku/v0.3.23/bootstrap.sh
|
wget https://raw.github.com/progrium/dokku/v0.3.25/bootstrap.sh
|
||||||
sudo DOKKU_TAG=v0.3.23 bash bootstrap.sh
|
sudo DOKKU_TAG=v0.3.25 bash bootstrap.sh
|
||||||
|
|
||||||
### Upgrading
|
### Upgrading
|
||||||
|
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ dokku_install_package() {
|
|||||||
curl -sSL https://get.docker.io/gpg | apt-key add -
|
curl -sSL https://get.docker.io/gpg | apt-key add -
|
||||||
curl -sSL https://packagecloud.io/gpg.key | apt-key add -
|
curl -sSL https://packagecloud.io/gpg.key | apt-key add -
|
||||||
|
|
||||||
echo "deb http://get.docker.io/ubuntu docker main" > /etc/apt/sources.list.d/docker.list
|
echo "deb https://get.docker.io/ubuntu docker main" > /etc/apt/sources.list.d/docker.list
|
||||||
echo "deb https://packagecloud.io/dokku/dokku/ubuntu/ trusty main" > /etc/apt/sources.list.d/dokku.list
|
echo "deb https://packagecloud.io/dokku/dokku/ubuntu/ trusty main" > /etc/apt/sources.list.d/dokku.list
|
||||||
|
|
||||||
apt-get update > /dev/null
|
apt-get update > /dev/null
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ if ARGV[0] == "onboot"
|
|||||||
exit
|
exit
|
||||||
end
|
end
|
||||||
|
|
||||||
version = "v0.3.23"
|
version = "v0.3.25"
|
||||||
dokku_root = ENV["DOKKU_ROOT"] || "/home/dokku"
|
dokku_root = ENV["DOKKU_ROOT"] || "/home/dokku"
|
||||||
admin_keys = `cat /root/.ssh/authorized_keys`.split("\n")
|
admin_keys = `cat /root/.ssh/authorized_keys`.split("\n")
|
||||||
hostname = `bash -c '[[ $(dig +short $HOSTNAME) ]] && echo $HOSTNAME || curl icanhazip.com'`.strip
|
hostname = `bash -c '[[ $(dig +short $HOSTNAME) ]] && echo $HOSTNAME || curl icanhazip.com'`.strip
|
||||||
|
|||||||
@@ -149,7 +149,7 @@ function install_prerequisites {
|
|||||||
sudo apt-get install -qq -y apt-transport-https > /dev/null 2>&1
|
sudo apt-get install -qq -y apt-transport-https > /dev/null 2>&1
|
||||||
|
|
||||||
logit "Setting up apt repositories"
|
logit "Setting up apt repositories"
|
||||||
echo "deb http://get.docker.io/ubuntu docker main" > /etc/apt/sources.list.d/docker.list
|
echo "deb https://get.docker.io/ubuntu docker main" > /etc/apt/sources.list.d/docker.list
|
||||||
echo "deb https://packagecloud.io/dokku/dokku/ubuntu/ trusty main" > /etc/apt/sources.list.d/dokku.list
|
echo "deb https://packagecloud.io/dokku/dokku/ubuntu/ trusty main" > /etc/apt/sources.list.d/dokku.list
|
||||||
|
|
||||||
logit "Running apt-get update"
|
logit "Running apt-get update"
|
||||||
|
|||||||
2
deb.mk
2
deb.mk
@@ -40,7 +40,7 @@ install-from-deb:
|
|||||||
curl --silent https://packagecloud.io/gpg.key 2> /dev/null | apt-key add - 2>&1 >/dev/null
|
curl --silent https://packagecloud.io/gpg.key 2> /dev/null | apt-key add - 2>&1 >/dev/null
|
||||||
|
|
||||||
echo "--> Setting up apt repositories"
|
echo "--> Setting up apt repositories"
|
||||||
echo "deb http://get.docker.io/ubuntu docker main" > /etc/apt/sources.list.d/docker.list
|
echo "deb https://get.docker.io/ubuntu docker main" > /etc/apt/sources.list.d/docker.list
|
||||||
echo "deb https://packagecloud.io/dokku/dokku/ubuntu/ trusty main" > /etc/apt/sources.list.d/dokku.list
|
echo "deb https://packagecloud.io/dokku/dokku/ubuntu/ trusty main" > /etc/apt/sources.list.d/dokku.list
|
||||||
|
|
||||||
echo "--> Running apt-get update"
|
echo "--> Running apt-get update"
|
||||||
|
|||||||
1
debian/control
vendored
1
debian/control
vendored
@@ -5,6 +5,5 @@ Priority: optional
|
|||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Depends: locales, git, make, curl, software-properties-common, lxc-docker-1.6.2, gcc, python-software-properties, man-db, buildstep, sshcommand, pluginhook
|
Depends: locales, git, make, curl, software-properties-common, lxc-docker-1.6.2, gcc, python-software-properties, man-db, buildstep, sshcommand, pluginhook
|
||||||
Pre-Depends: nginx, dnsutils, ruby, ruby-dev, rubygem-rack, rubygem-rack-protection, rubygem-sinatra, rubygem-tilt, apparmor, cgroup-lite
|
Pre-Depends: nginx, dnsutils, ruby, ruby-dev, rubygem-rack, rubygem-rack-protection, rubygem-sinatra, rubygem-tilt, apparmor, cgroup-lite
|
||||||
Provides: dokku
|
|
||||||
Maintainer: Jose Diaz-Gonzalez <dokku@josediazgonzalez.com>
|
Maintainer: Jose Diaz-Gonzalez <dokku@josediazgonzalez.com>
|
||||||
Description: Docker powered mini-Heroku in around 100 lines of Bash
|
Description: Docker powered mini-Heroku in around 100 lines of Bash
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ As of 0.3.18, dokku defaults to being installed via debian package. While certai
|
|||||||
curl -sL https://get.docker.io/gpg 2> /dev/null | sudo apt-key add - 2>&1 >/dev/null
|
curl -sL https://get.docker.io/gpg 2> /dev/null | sudo apt-key add - 2>&1 >/dev/null
|
||||||
curl -sL https://packagecloud.io/gpg.key 2> /dev/null | sudo apt-key add - 2>&1 >/dev/null
|
curl -sL https://packagecloud.io/gpg.key 2> /dev/null | sudo apt-key add - 2>&1 >/dev/null
|
||||||
|
|
||||||
echo "deb http://get.docker.io/ubuntu docker main" | sudo tee /etc/apt/sources.list.d/docker.list >/dev/null
|
echo "deb https://get.docker.io/ubuntu docker main" | sudo tee /etc/apt/sources.list.d/docker.list >/dev/null
|
||||||
echo "deb https://packagecloud.io/dokku/dokku/ubuntu/ trusty main" | sudo tee /etc/apt/sources.list.d/dokku.list >/dev/null
|
echo "deb https://packagecloud.io/dokku/dokku/ubuntu/ trusty main" | sudo tee /etc/apt/sources.list.d/dokku.list >/dev/null
|
||||||
|
|
||||||
sudo apt-get update -qq
|
sudo apt-get update -qq
|
||||||
|
|||||||
@@ -64,12 +64,12 @@
|
|||||||
<p class="line">
|
<p class="line">
|
||||||
<span class="path">~</span>
|
<span class="path">~</span>
|
||||||
<span class="prompt">$</span>
|
<span class="prompt">$</span>
|
||||||
<span class="command">wget https://raw.github.com/progrium/dokku/v0.3.23/bootstrap.sh</span>
|
<span class="command">wget https://raw.github.com/progrium/dokku/v0.3.25/bootstrap.sh</span>
|
||||||
</p>
|
</p>
|
||||||
<p class="line">
|
<p class="line">
|
||||||
<span class="path">~</span>
|
<span class="path">~</span>
|
||||||
<span class="prompt">$</span>
|
<span class="prompt">$</span>
|
||||||
<span class="command">sudo DOKKU_TAG=v0.3.23 bash bootstrap.sh</span>
|
<span class="command">sudo DOKKU_TAG=v0.3.25 bash bootstrap.sh</span>
|
||||||
</p>
|
</p>
|
||||||
<p class="line">
|
<p class="line">
|
||||||
<span class="output"># => Go to your server's IP and follow the web installer</span>
|
<span class="output"># => Go to your server's IP and follow the web installer</span>
|
||||||
|
|||||||
@@ -15,12 +15,12 @@
|
|||||||
<p class="line">
|
<p class="line">
|
||||||
<span class="path">~</span>
|
<span class="path">~</span>
|
||||||
<span class="prompt">$</span>
|
<span class="prompt">$</span>
|
||||||
<span class="command">wget https://raw.github.com/progrium/dokku/v0.3.23/bootstrap.sh</span>
|
<span class="command">wget https://raw.github.com/progrium/dokku/v0.3.25/bootstrap.sh</span>
|
||||||
</p>
|
</p>
|
||||||
<p class="line">
|
<p class="line">
|
||||||
<span class="path">~</span>
|
<span class="path">~</span>
|
||||||
<span class="prompt">$</span>
|
<span class="prompt">$</span>
|
||||||
<span class="command">sudo DOKKU_TAG=v0.3.23 bash bootstrap.sh</span>
|
<span class="command">sudo DOKKU_TAG=v0.3.25 bash bootstrap.sh</span>
|
||||||
</p>
|
</p>
|
||||||
<p class="line">
|
<p class="line">
|
||||||
<span class="output"># => Go to your server's IP and follow the web installer</span>
|
<span class="output"># => Go to your server's IP and follow the web installer</span>
|
||||||
|
|||||||
@@ -4,8 +4,9 @@
|
|||||||
|
|
||||||
- A fresh VM running Ubuntu `14.04 x64`
|
- A fresh VM running Ubuntu `14.04 x64`
|
||||||
- At least `1GB` of system memory ([workaround for 512MB machines](http://progrium.viewdocs.io/dokku/advanced-installation))
|
- At least `1GB` of system memory ([workaround for 512MB machines](http://progrium.viewdocs.io/dokku/advanced-installation))
|
||||||
|
- The VM should have a FQDN set before installation (check by running `sudo hostname -f`).
|
||||||
|
|
||||||
Ubuntu 14.04 x64 x64. Ideally have a domain ready to point to your host. It's designed for and is probably best to use a fresh VM. The bootstrapper will install everything it needs.
|
Ubuntu 14.04 x64. Ideally have a domain ready to point to your host. It's designed for and is probably best to use a fresh VM. The bootstrapper will install everything it needs.
|
||||||
|
|
||||||
## Installing the latest Stable version
|
## Installing the latest Stable version
|
||||||
|
|
||||||
@@ -13,8 +14,8 @@ To install the latest stable version of dokku, you can run the following bootstr
|
|||||||
|
|
||||||
```shell
|
```shell
|
||||||
# installs dokku via apt-get
|
# installs dokku via apt-get
|
||||||
wget https://raw.github.com/progrium/dokku/v0.3.23/bootstrap.sh
|
wget https://raw.github.com/progrium/dokku/v0.3.25/bootstrap.sh
|
||||||
sudo DOKKU_TAG=v0.3.23 bash bootstrap.sh
|
sudo DOKKU_TAG=v0.3.25 bash bootstrap.sh
|
||||||
|
|
||||||
# By default, this will do cli-based setup, though you may *also*
|
# By default, this will do cli-based setup, though you may *also*
|
||||||
# go to your server's IP and follow the web installer
|
# go to your server's IP and follow the web installer
|
||||||
|
|||||||
Reference in New Issue
Block a user