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:
parent
c668784c7e
commit
4f94622753
1 changed files with 11 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue