Skip to content

Commit

Permalink
Update db
Browse files Browse the repository at this point in the history
  • Loading branch information
back-2-95 committed Nov 21, 2024
1 parent 1ad60b2 commit 62d36b4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
6 changes: 4 additions & 2 deletions db/mariadb/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
ARG MARIADB_VERSION
# syntax=docker/dockerfile:1

FROM mariadb:${MARIADB_VERSION} as base
ARG MARIADB_VERSION=10.6

FROM mariadb:${MARIADB_VERSION} AS base

ENV KIND=druid-docker-image \
MYSQL_DATABASE=drupal \
Expand Down
12 changes: 6 additions & 6 deletions db/mysql/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

ARG MYSQL_SHORT_VERSION

FROM --platform=linux/arm64 biarms/mysql:5.7 as mysql-57-arm64
FROM --platform=linux/amd64 mysql:5.7 as mysql-57-amd64
FROM --platform=linux/arm64 biarms/mysql:5.7 AS mysql-57-arm64
FROM --platform=linux/amd64 mysql:5.7 AS mysql-57-amd64

FROM mysql-57-${TARGETARCH} as mysql-57
FROM mysql-57-${TARGETARCH} AS mysql-57

FROM mysql:8.0 as mysql-80
FROM mysql:8.0 AS mysql-80

FROM mysql:8.4 as mysql-84
FROM mysql:8.4 AS mysql-84

FROM mysql-${MYSQL_SHORT_VERSION} as mysql-base
FROM mysql-${MYSQL_SHORT_VERSION} AS mysql-base

ARG DRUPAL_CONF="/etc/mysql/conf.d/drupal.cnf"

Expand Down

0 comments on commit 62d36b4

Please sign in to comment.