fixed arm64 , support mysql 8.0

This commit is contained in:
jianghang.loujh
2023-10-08 17:51:56 +08:00
parent 738f41049f
commit 066b022bb3
6 changed files with 32 additions and 22 deletions

View File

@@ -1,7 +1,5 @@
# amd64
FROM centos:centos7.9.2009@sha256:dead07b4d8ed7e29e98de0f4504d87e8880d4347859d839686a31da35a3b532f
# arm64
#FROM centos:centos7.9.2009@sha256:73f11afcbb50d8bc70eab9f0850b3fa30e61a419bc48cf426e63527d14a8373b
ARG jdk_rpm
ARG platform_env

View File

@@ -7,7 +7,8 @@ RUN \
groupadd -r mysql && useradd -r -g mysql mysql && \
wget https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpm && \
rpm -ivh mysql80-community-release-el7-3.noarch.rpm && \
yum install mysql-community-server --nogpgcheck -y && \
yum install sudo mysql-community-server --nogpgcheck -y && \
rm -f mysql80-community-release-el7-3.noarch.rpm && \
yum clean all && \
true