Added pt-show-grants tool to mysqlclient

pt-show-grants tool is added to the mysqlclient utility
image for the Mariadb grants dump.

Change-Id: I16bcd91319e4c810cd63fb9b72919bf677cc8632
This commit is contained in:
Huang, Sophie (sh879n) 2020-07-02 21:15:44 +00:00
parent dcdbbe3a43
commit f07adaae8b

View File

@ -21,6 +21,8 @@ RUN set -xe \
rsyslog \ rsyslog \
pwgen \ pwgen \
curl \ curl \
libdbi-perl \
libdbd-mysql-perl \
moreutils \ moreutils \
mysql-client \ mysql-client \
python3.6 \ python3.6 \
@ -35,6 +37,8 @@ RUN set -xe \
&& curl -sSL https://dl.k8s.io/v${KUBE_VERSION}/kubernetes-client-linux-amd64.tar.gz | tar -zxv --strip-components=1 \ && curl -sSL https://dl.k8s.io/v${KUBE_VERSION}/kubernetes-client-linux-amd64.tar.gz | tar -zxv --strip-components=1 \
&& mv ${TMP_DIR}/client/bin/kubectl /usr/bin/kubectl \ && mv ${TMP_DIR}/client/bin/kubectl /usr/bin/kubectl \
&& chmod +x /usr/bin/kubectl \ && chmod +x /usr/bin/kubectl \
&& curl --silent -L https://percona.com/get/percona-toolkit.tar.gz \
| tar -C /usr/local/bin/ -zv --strip-components=2 --wildcards -x "*/*/pt-show-grants" \
&& rm -rf \ && rm -rf \
${TMP_DIR} \ ${TMP_DIR} \
/tmp/* \ /tmp/* \