File tree Expand file tree Collapse file tree 4 files changed +8
-10
lines changed Expand file tree Collapse file tree 4 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 1- # Alpine / MySQL Client
1+ # Alpine / MySQL Client ![ Docker Pulls ] ( https://img.shields.io/docker/pulls/joseluisq/alpine-mysql-client )
22
3- [ ![ dockeri.co] ( https://dockeri.co/image/joseluisq/alpine-mysql-client )] ( https://hub.docker.com/r/joseluisq/alpine-mysql-client )
4-
5- > [ MySQL client] ( https://dev.mysql.com/doc/refman/8.0/en/programs-client.html ) tools on top of [ Alpine Linux x86_64] ( https://hub.docker.com/_/alpine ) .
3+ > [ MySQL client] ( https://dev.mysql.com/doc/refman/8.0/en/programs-client.html ) for easy export and import databases using Docker.
64
75🐳 View on [ Docker Hub] ( https://hub.docker.com/r/joseluisq/alpine-mysql-client/ )
86
Original file line number Diff line number Diff line change @@ -29,10 +29,10 @@ RUN adduser -h ${USER_HOME_DIR} -s /sbin/nologin -u 1000 -D ${USER_NAME} && \
2929 \
3030 cp /usr/bin/envsubst /usr/local/bin/envsubst && \
3131 apk del build_deps && \
32- wget --quiet -O /tmp/fenv .tar.gz "https://github.com/joseluisq/fenv /releases/download/v1.0.0/fenv_1 .0.0_linux_$arch.tar.gz" ; \
33- tar xzvf /tmp/fenv .tar.gz -C /usr/local/bin fenv ; \
34- rm -f /tmp/fenv .tar.gz; \
35- chmod +x /usr/local/bin/fenv
32+ wget --quiet -O /tmp/enve .tar.gz "https://github.com/joseluisq/enve /releases/download/v1.0.0/enve_v1 .0.0_linux_$arch.tar.gz" ; \
33+ tar xzvf /tmp/enve .tar.gz -C /usr/local/bin enve ; \
34+ rm -f /tmp/enve .tar.gz; \
35+ chmod +x /usr/local/bin/enve
3636
3737COPY ./__mysqldump.sh /usr/local/bin/__mysqldump.sh
3838COPY ./mysql_exporter /usr/local/bin/mysql_exporter
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ if [[ -z "$FILE_ENV" ]]; then
1010fi
1111
1212if [[ -f $FILE_ENV ]]; then
13- fenv -f $FILE_ENV __mysqldump.sh
13+ enve -f $FILE_ENV __mysqldump.sh
1414else
1515 echo " file \` $FILE_ENV \` was not found"
1616 exit 1
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ if [[ -z "$FILE_ENV" ]]; then
1010fi
1111
1212if [[ -f $FILE_ENV ]]; then
13- fenv -f $FILE_ENV __mysqlimport.sh
13+ enve -f $FILE_ENV __mysqlimport.sh
1414else
1515 echo " file \` $FILE_ENV \` was not found"
1616 exit 1
You can’t perform that action at this time.
0 commit comments