feat: release Dokku on supported versions of Debian and Raspbian

The policy has always been to only release for supported versions of operating systems, so this change aligns what we release for and how Dokku may be installed.

Folks running unmaintained operating systems should upgrade, as the packages are never guaranteed to exist in the Dokku apt repository.
This commit is contained in:
Jose Diaz-Gonzalez committed 2024-09-29 03:29:37 -04:00
1 parent 27ce6b622c
commit 355c98aa2a
4 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -75,7 +75,7 @@ Support us with a monthly donation and help us continue our activities. [[Become
A fresh VM running any of the following operating systems: A fresh VM running any of the following operating systems:
- Ubuntu 20.04 / 22.04 / 24.04 x64 - Any currently supported release - Ubuntu 20.04 / 22.04 / 24.04 x64 - Any currently supported release
- Debian 10+ x64 - Debian 11+ x64
- Arch Linux x64 *(experimental)* - Arch Linux x64 *(experimental)*
An SSH keypair that can be used for application deployment. If this exists before installation, it will be automatically imported into dokku. An SSH keypair that can be used for application deployment. If this exists before installation, it will be automatically imported into dokku.
+5 -5
View File
@@ -12,7 +12,7 @@ set -eo pipefail
# That's good because it prevents our output overlapping with wget's. # That's good because it prevents our output overlapping with wget's.
# It also means that we can't run a partially downloaded script. # It also means that we can't run a partially downloaded script.
SUPPORTED_VERSIONS="Debian [10, 11, 12], Ubuntu [20.04, 22.04, 24.04]" SUPPORTED_VERSIONS="Debian [11, 12], Ubuntu [20.04, 22.04, 24.04]"
log-fail() { log-fail() {
declare desc="log fail formatter" declare desc="log fail formatter"
@@ -193,14 +193,14 @@ install-dokku-from-deb-package() {
OS_ID="noble" OS_ID="noble"
fi fi
elif [[ "$DOKKU_DISTRO" == "debian" ]]; then elif [[ "$DOKKU_DISTRO" == "debian" ]]; then
OS_IDS=("stretch" "buster" "bullseye" "bookworm") OS_IDS=("bullseye" "bookworm")
if ! in-array "$OS_ID" "${OS_IDS[@]}"; then if ! in-array "$OS_ID" "${OS_IDS[@]}"; then
OS_ID="bullseye" OS_ID="bookworm"
fi fi
elif [[ "$DOKKU_DISTRO" == "raspbian" ]]; then elif [[ "$DOKKU_DISTRO" == "raspbian" ]]; then
OS_IDS=("buster" "bullseye") OS_IDS=("bullseye" "bookworm")
if ! in-array "$OS_ID" "${OS_IDS[@]}"; then if ! in-array "$OS_ID" "${OS_IDS[@]}"; then
OS_ID="bullseye" OS_ID="bookworm"
fi fi
fi fi
+2 -2
View File
@@ -134,7 +134,7 @@ fn-publish-package() {
[[ "$RELEASE_TYPE" == "raspbian" ]] && DIST=raspbian [[ "$RELEASE_TYPE" == "raspbian" ]] && DIST=raspbian
if [[ "$RELEASE_TYPE" == "raspbian" ]]; then if [[ "$RELEASE_TYPE" == "raspbian" ]]; then
OS_IDS=("buster" "bullseye") OS_IDS=("bullseye" "bookworm")
for OS_ID in "${OS_IDS[@]}"; do for OS_ID in "${OS_IDS[@]}"; do
log-info "(release-dokku) pushing deb to packagecloud.com/${REPOSITORY}/${DIST}" log-info "(release-dokku) pushing deb to packagecloud.com/${REPOSITORY}/${DIST}"
package_cloud push "${REPOSITORY}/${DIST}/${OS_ID}" "$PACKAGE_NAME" package_cloud push "${REPOSITORY}/${DIST}/${OS_ID}" "$PACKAGE_NAME"
@@ -155,7 +155,7 @@ fn-publish-package() {
done done
DIST=debian DIST=debian
OS_IDS=("buster" "bullseye" "bookworm") OS_IDS=("bullseye" "bookworm")
for OS_ID in "${OS_IDS[@]}"; do for OS_ID in "${OS_IDS[@]}"; do
log-info "(release-dokku) pushing ${RELEASE_TYPE} to packagecloud.com/${REPOSITORY}/${DIST}" log-info "(release-dokku) pushing ${RELEASE_TYPE} to packagecloud.com/${REPOSITORY}/${DIST}"
package_cloud push "${REPOSITORY}/${DIST}/${OS_ID}" "$PACKAGE_NAME" package_cloud push "${REPOSITORY}/${DIST}/${OS_ID}" "$PACKAGE_NAME"
+1 -1
View File
@@ -10,7 +10,7 @@ To start using Dokku, you'll need a system that meets the following minimum requ
- A fresh installation of any of the following operating systems: - A fresh installation of any of the following operating systems:
- [Ubuntu 20.04/22.04/24.04](https://www.ubuntu.com/download) - [Ubuntu 20.04/22.04/24.04](https://www.ubuntu.com/download)
- [Debian 10+ x64](https://www.debian.org/distrib/) - [Debian 11+ x64](https://www.debian.org/distrib/)
- A server with one of the following architectures - A server with one of the following architectures
- AMD64 (alternatively known as `x86_64`), commonly used for Intel cloud servers - AMD64 (alternatively known as `x86_64`), commonly used for Intel cloud servers
- ARMV8 (alternatively known as `arm64`), commonly used for Raspberry PI and AWS Graviton - ARMV8 (alternatively known as `arm64`), commonly used for Raspberry PI and AWS Graviton