fix: upload mysql client

This commit is contained in:
shizhendong
2022-06-15 16:35:31 +08:00
parent bf6ed61265
commit d9639f9410
3 changed files with 8 additions and 1 deletions

View File

@@ -90,6 +90,13 @@ RUN go version
COPY ./depends/mc /usr/bin/
RUN chmod +x /usr/bin/mc
###############################################
## install mysql client
###############################################
COPY ./depends/mariadb /usr/bin/mysql
COPY ./depends/mariadb-dump /usr/bin/mysqldump
RUN chmod +x /usr/bin/mysql /usr/bin/mysqldump
COPY ./depends/maven-setting.xml /usr/share/maven/conf/settings.xml
RUN yum -y clean all && rm -rf /var/cache/yum/*
RUN yum -y clean all && rm -rf /var/cache/yum/*

BIN
depends/mariadb Normal file

Binary file not shown.

BIN
depends/mariadb-dump Normal file

Binary file not shown.