1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/metabase_ynh.git synced 2024-09-03 19:46:00 +02:00

Support bookworm: use OpenJDK 17

This commit is contained in:
tituspijean 2024-04-10 23:22:51 +02:00
parent c668784c7e
commit 4f94622753
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -55,7 +55,17 @@ ram.runtime = "50M"
main.url = "/"
[resources.apt]
packages = "postgresql openjdk-11-jre-headless apt-transport-https"
packages = [
"postgresql",
"apt-transport-https"
]
packages_from_raw_bash = """
if [[ $YNH_DEBIAN_VERSION == "bullseye" ]]; then
echo "openjdk-11-jre-headless";
elif [[ $YNH_DEBIAN_VERSION == "bookworm" ]]; then
echo "openjdk-17-jre-headless";
fi
"""
[resources.database]
type = "postgresql"