Skip to content

Commit

Permalink
test(ticdc): use mysql 2022 rpm GPG key (#4434) (#4436)
Browse files Browse the repository at this point in the history
close #4433
  • Loading branch information
ti-chi-bot authored Jan 24, 2022
1 parent 6671119 commit 14db59b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
8 changes: 5 additions & 3 deletions deployments/ticdc/docker/integration-test.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@ RUN yum install -y \
RUN wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
RUN yum install -y epel-release-latest-7.noarch.rpm
RUN yum --enablerepo=epel install -y s3cmd
RUN wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm
RUN yum install -y mysql57-community-release-el7-10.noarch.rpm
RUN yum install -y mysql-server
# Install mysql client.
RUN rpm -ivh https://repo.mysql.com/mysql57-community-release-el7-11.noarch.rpm
# See: https://support.cpanel.net/hc/en-us/articles/4419382481815?input_string=gpg+keys+problem+with+mysql+5.7
RUN rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
RUN yum install mysql-community-client.x86_64 -y

# Copy go form downloader.
COPY --from=downloader /usr/local/go /usr/local/go
Expand Down
5 changes: 3 additions & 2 deletions scripts/canal/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ RUN yum clean all
RUN yum makecache

# Install mysql client.
RUN wget https://dev.mysql.com/get/mysql57-community-release-el6-9.noarch.rpm
RUN rpm -ivh mysql57-community-release-el6-9.noarch.rpm
RUN rpm -ivh https://repo.mysql.com/mysql57-community-release-el7-11.noarch.rpm
# See: https://support.cpanel.net/hc/en-us/articles/4419382481815?input_string=gpg+keys+problem+with+mysql+5.7
RUN rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
RUN yum install mysql-community-client.x86_64 -y

WORKDIR /root
Expand Down

0 comments on commit 14db59b

Please sign in to comment.