mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
fixed arm64 , support mysql 8.0
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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-8.0.32 --nogpgcheck -y && \
|
||||
rm -f mysql80-community-release-el7-3.noarch.rpm && \
|
||||
yum clean all && \
|
||||
true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user