From 49299a4c46c6a7a936214b6b23e01c13ee5e2db6 Mon Sep 17 00:00:00 2001 From: qizhicheng Date: Thu, 16 Nov 2023 16:54:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=B3=E8=BF=87=E7=BC=96=E8=AF=91,=20?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E9=A2=84=E7=BC=96=E8=AF=91=E7=9A=84=20binary?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/docker/Dockerfile-base | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/docker/Dockerfile-base b/src/docker/Dockerfile-base index 06de4f7d4f..f9d3f5f4dd 100644 --- a/src/docker/Dockerfile-base +++ b/src/docker/Dockerfile-base @@ -27,13 +27,8 @@ RUN yum install -y epel-release \ && yum -y install percona-toolkit \ && ln -fs /usr/lib64/mysql/libmysqlclient.so.18 /usr/lib64/libperconaserverclient_r.so \ && cd /opt \ - && git clone https://github.com/hhyo/SQLAdvisor.git --depth 3 \ - && cd /opt/SQLAdvisor/ \ - && cmake -DBUILD_CONFIG=mysql_release -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=/usr/local/sqlparser ./ \ - && make && make install \ - && cd sqladvisor/ \ - && cmake -DCMAKE_BUILD_TYPE=debug ./ \ - && make \ + && curl -o sqladvisor -L https://github.com/LeoQuote/SQLAdvisor/releases/download/v2.1/sqladvisor-linux-amd64 \ + && chmod +x sqladvisor \ #soar && cd /opt \ && wget https://github.com/XiaoMi/soar/releases/download/$SOAR_VERSION/soar.linux-amd64 -O soar \