Skip to content

Commit

Permalink
Latest MariaDB and MySQL LTS versions
Browse files Browse the repository at this point in the history
  • Loading branch information
back-2-95 committed Jun 3, 2024
1 parent a9ff2a6 commit 37f1dc1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
24 changes: 16 additions & 8 deletions db/docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ group "default" {
}

group "mariadb-variants" {
targets = ["mariadb-106", "mariadb-1011"]
targets = ["mariadb-106", "mariadb-1011", "mariadb-114"]
}

group "mysql-variants" {
targets = ["mysql-57", "mysql-80", "mysql-82"]
targets = ["mysql-57", "mysql-80", "mysql-84"]
}

target "common" {
Expand Down Expand Up @@ -38,7 +38,15 @@ target "mariadb-1011" {
args = {
MARIADB_VERSION = "10.11"
}
tags = ["druidfi/mariadb:10.11-drupal", "druidfi/mariadb:10.11-drupal-lts", "druidfi/mariadb:latest"]
tags = ["druidfi/mariadb:10.11-drupal", "druidfi/mariadb:10.11-drupal-lts"]
}

target "mariadb-114" {
inherits = ["common", "mariadb-common"]
args = {
MARIADB_VERSION = "11.4"
}
tags = ["druidfi/mariadb:11.4-drupal", "druidfi/mariadb:11.4-drupal-lts", "druidfi/mariadb:latest"]
}

target "mysql-common" {
Expand All @@ -62,15 +70,15 @@ target "mysql-80" {
MYSQL_VERSION = "8.0"
MYSQL_SHORT_VERSION = "80"
}
tags = ["druidfi/mysql:8.0-drupal", "druidfi/mysql:8.0-drupal-lts", "druidfi/mysql:latest"]
tags = ["druidfi/mysql:8.0-drupal", "druidfi/mysql:8.0-drupal-lts"]
}

target "mysql-82" {
target "mysql-84" {
inherits = ["common", "mysql-common"]
target = "mysql-base"
args = {
MYSQL_VERSION = "8.2"
MYSQL_SHORT_VERSION = "82"
MYSQL_VERSION = "8.4"
MYSQL_SHORT_VERSION = "84"
}
tags = ["druidfi/mysql:8.2-drupal", "druidfi/mysql:latest"]
tags = ["druidfi/mysql:8.4-drupal", "druidfi/mysql:8.4-drupal-lts", "druidfi/mysql:latest"]
}
4 changes: 1 addition & 3 deletions db/mysql/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ FROM mysql-57-${TARGETARCH} as mysql-57

FROM mysql:8.0 as mysql-80

FROM mysql:8.1 as mysql-81

FROM mysql:8.2 as mysql-82
FROM mysql:8.4 as mysql-84

FROM mysql-${MYSQL_SHORT_VERSION} as mysql-base

Expand Down

0 comments on commit 37f1dc1

Please sign in to comment.