Merge pull request #7213 from dokku/update-released-packages
Release Dokku on supported versions of Debian and Raspbian
This commit is contained in:
4 files changed
+9
-9
No files matched your search
@@ -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
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user