Grafana: Upgrades mysql images from 5.7 to 8 (#67604)

adds mysql integration build step for mysql 8
This commit is contained in:
owensmallwood
2023-05-04 11:42:48 -06:00
committed by GitHub
parent 95cf598423
commit a4c7450c42
10 changed files with 289 additions and 65 deletions

View File

@@ -1 +1 @@
mysql_version=5.7.39
mysql_version=8.0.32

View File

@@ -1 +1 @@
mysql_version=5.7.39
mysql_version=8.0.32

View File

@@ -1,4 +1,4 @@
ARG mysql_version=5.7.39
ARG mysql_version=8.0.32
FROM mysql:${mysql_version}
ADD setup.sql /docker-entrypoint-initdb.d
RUN chown -R mysql:mysql /docker-entrypoint-initdb.d/

View File

@@ -2,7 +2,7 @@ version: "2.1"
services:
db:
image: mysql:5.7.39
image: mysql:8.0.32
platform: linux/x86_64
environment:
MYSQL_ROOT_PASSWORD: rootpass

View File

@@ -16,7 +16,7 @@ services:
tag: nginx
db:
image: mysql:5.7.39
image: mysql:8.0.32
environment:
MYSQL_ROOT_PASSWORD: rootpass
MYSQL_DATABASE: grafana