feat: upgrade digitalocean image to Ubuntu Noble

This commit is contained in:
Jose Diaz-Gonzalez
2024-09-21 20:45:48 -04:00
parent 0cfb447f42
commit fb335107f6
3 changed files with 3 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ echo '--> Setting up dokku apt repository'
curl -fsSL https://packagecloud.io/dokku/dokku/gpgkey -o /etc/apt/keyrings/dokku.asc
cat >/etc/apt/sources.list.d/dokku.list <<EOM
deb [arch=amd64 signed-by=/etc/apt/keyrings/dokku.asc] https://packagecloud.io/dokku/dokku/ubuntu/ jammy main
deb [arch=amd64 signed-by=/etc/apt/keyrings/dokku.asc] https://packagecloud.io/dokku/dokku/ubuntu/ noble main
EOM
echo '--> Install dependencies for dokku from new repository'

View File

@@ -497,7 +497,7 @@ osv=0
if [[ $OS == "Ubuntu" ]]; then
ost=1
if [[ $VER == "22.10" ]] || [[ $VER == "22.04" ]] || [[ $VER == "20.04" ]] || [[ $VER == "18.04" ]] || [[ $VER == "16.04" ]]; then
if [[ $VER == "24.04" ]] || [[ $VER == "22.10" ]] || [[ $VER == "22.04" ]] || [[ $VER == "20.04" ]] || [[ $VER == "18.04" ]] || [[ $VER == "16.04" ]]; then
osv=1
fi

View File

@@ -12,7 +12,7 @@ variable "dokku_version" {
}
source "digitalocean" "ubuntu" {
image = "ubuntu-22-04-x64"
image = "ubuntu-24-04-x64"
region = "nyc1"
size = "s-1vcpu-512mb-10gb"
ssh_username = "root"