Install mysql el9
@@ -4,13 +4,9 @@ FROM registry.access.redhat.com/ubi9/ubi:9.1.0-1646.1669627755 as builder
RUN dnf clean all && rm -rf /var/cache/dnf
RUN dnf -y upgrade
# Download the RPM file to avoid timeouts during install
-RUN curl -LO https://dev.mysql.com/get/mysql80-community-release-el8-1.noarch.rpm
+RUN curl -LO https://dev.mysql.com/get/mysql80-community-release-el9-1.noarch.rpm
# Install from the local file
-RUN dnf install -y mysql80-community-release-el8-1.noarch.rpm
-
-# GPG keys for MySQL have expired. Importing the new key below.
-# Please refer bug https://bugs.mysql.com/bug.php?id=106188 for more details
-RUN rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
+RUN dnf install -y mysql80-community-release-el9-1.noarch.rpm
RUN dnf install -y mysql-community-client
