Skip to content

Commit

Permalink
跳过编译, 使用预编译的 binary
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoQuote committed Nov 16, 2023
1 parent de40469 commit 49299a4
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/docker/Dockerfile-base
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 49299a4

Please sign in to comment.