forked from jakdept/docker-percona-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
23 lines (20 loc) · 770 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
ARG DEBIAN_VERSION=buster
FROM debian:${DEBIAN_VERSION}
LABEL maintainer "yuuki0xff <yuuki0xff@gmail.com>"
ARG DEBIAN_VERSION=buster
ENV PERCONA_VERSION 3.1
ENV RELEASE_VERSION 3.1-1
RUN apt-get update && apt-get install -y \
libdbd-mysql-perl \
libdbi-perl \
libio-socket-ssl-perl \
libterm-readkey-perl \
perl \
wget \
&& rm -rf /usr/share/doc/* && \
rm -rf /usr/share/info/* && \
rm -rf /tmp/* && \
rm -rf /var/tmp/* && \
wget -O percona-toolkit.deb https://www.percona.com/downloads/percona-toolkit/${PERCONA_VERSION}/binary/debian/${DEBIAN_VERSION}/x86_64/percona-toolkit_${RELEASE_VERSION}.${DEBIAN_VERSION}_amd64.deb && \
dpkg -i percona-toolkit.deb && \
rm -f percona-toolkit.deb