Skip to content

Commit c34f24b

Browse files
committed
Use presslabs/mysql-toolbox as base image for mysql-helper
1 parent 8ab08c4 commit c34f24b

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed
Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,4 @@
1-
FROM debian:stretch
2-
3-
RUN apt-get update && apt-get install -y \
4-
wget curl alien unzip mysql-client
5-
6-
# https://www.percona.com/doc/percona-xtrabackup/LATEST/installation/apt_repo.html
7-
RUN wget https://repo.percona.com/apt/percona-release_0.1-5.stretch_all.deb -P /tmp/ \
8-
&& dpkg -i /tmp/percona-release_0.1-5.stretch_all.deb \
9-
&& rm /tmp/percona-release_0.1-5.stretch_all.deb
10-
11-
RUN apt-get update && apt-get install -y \
12-
percona-xtrabackup-24 \
13-
&& rm -rf /var/lib/apt/lists/*
14-
15-
RUN wget https://nmap.org/dist/ncat-7.60-1.x86_64.rpm \
16-
&& alien ncat-7.60-1.x86_64.rpm \
17-
&& dpkg --install ncat_7.60-2_amd64.deb \
18-
&& wget https://downloads.rclone.org/rclone-current-linux-amd64.zip \
19-
&& unzip rclone-current-linux-amd64.zip \
20-
&& mv rclone-*-linux-amd64/rclone /usr/bin/ \
21-
&& chmod 755 /usr/bin/rclone
1+
FROM quay.io/presslabs/mysql-toolbox:v0.1
222

233
COPY docker-entrypoint.sh mysql-helper /usr/local/bin/
244
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]

0 commit comments

Comments
 (0)