Skip to content

Commit

Permalink
Install mysql el9 (#1855)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavannd1 committed Jan 10, 2023
1 parent 00c1701 commit dd1ffab
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions docker/kanister-mysql/image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit dd1ffab

Please sign in to comment.