Commit 1f47946 1 parent b9e4ede commit 1f47946 Copy full SHA for 1f47946
File tree 4 files changed +8
-10
lines changed
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 )
2
2
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.
6
4
7
5
🐳 View on [ Docker Hub] ( https://hub.docker.com/r/joseluisq/alpine-mysql-client/ )
8
6
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} && \
29
29
\
30
30
cp /usr/bin/envsubst /usr/local/bin/envsubst && \
31
31
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
36
36
37
37
COPY ./__mysqldump.sh /usr/local/bin/__mysqldump.sh
38
38
COPY ./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
10
10
fi
11
11
12
12
if [[ -f $FILE_ENV ]]; then
13
- fenv -f $FILE_ENV __mysqldump.sh
13
+ enve -f $FILE_ENV __mysqldump.sh
14
14
else
15
15
echo " file \` $FILE_ENV \` was not found"
16
16
exit 1
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ if [[ -z "$FILE_ENV" ]]; then
10
10
fi
11
11
12
12
if [[ -f $FILE_ENV ]]; then
13
- fenv -f $FILE_ENV __mysqlimport.sh
13
+ enve -f $FILE_ENV __mysqlimport.sh
14
14
else
15
15
echo " file \` $FILE_ENV \` was not found"
16
16
exit 1
You can’t perform that action at this time.
0 commit comments