Ubuntu 24.04

* update docker to 26.0.1
* cloudron-syslog needs to have correct perms for fifo socket
This commit is contained in:
Girish Ramakrishnan
2024-04-28 11:31:39 +02:00
parent cd5cae33ce
commit 8df97de8c6
5 changed files with 23 additions and 8 deletions

View File

@@ -117,8 +117,8 @@ fi
# Only --help works with mismatched ubuntu
ubuntu_version=$(lsb_release -rs)
if [[ "${ubuntu_version}" != "16.04" && "${ubuntu_version}" != "18.04" && "${ubuntu_version}" != "20.04" && "${ubuntu_version}" != "22.04" ]]; then
echo "Cloudron requires Ubuntu 18.04, 20.04, 22.04" > /dev/stderr
if [[ "${ubuntu_version}" != "16.04" && "${ubuntu_version}" != "18.04" && "${ubuntu_version}" != "20.04" && "${ubuntu_version}" != "22.04" && "${ubuntu_version}" != "24.04" ]]; then
echo "Cloudron requires Ubuntu 18.04, 20.04, 22.04, 24.04" > /dev/stderr
exit 1
fi
@@ -217,6 +217,11 @@ if ! grep -q avx /proc/cpuinfo; then
fi
fi
if [[ "${ubuntu_version}" == "24.04" ]] && ! vergte "${version}" "8.0.0"; then
echo "Cloudron >= 8.0.0 required for installation on Ubuntu ${ubuntu_version}"
exit 1
fi
if ! sourceTarballUrl=$(echo "${releaseJson}" | python3 -c 'import json,sys;obj=json.load(sys.stdin);print(obj["info"]["sourceTarballUrl"])'); then
echo "No source code for version '${requestedVersion:-latest}'"
exit 1