php-fpm install mysql-client (#2005)

This commit is contained in:
Yu Li
2019-02-22 18:30:05 +08:00
committed by Shao Yu-Lung (Allen)
parent b0edaf93a1
commit 2deb9bf1cb
3 changed files with 24 additions and 9 deletions

View File

@ -606,6 +606,19 @@ RUN if [ ${INSTALL_ADDITIONAL_LOCALES} = true ]; then \
&& locale-gen \
;fi
###########################################################################
# MySQL Client:
###########################################################################
USER root
ARG INSTALL_MYSQL_CLIENT=false
RUN if [ ${INSTALL_MYSQL_CLIENT} = true ]; then \
apt-get update -yqq && \
apt-get -y install mysql-client \
;fi
###########################################################################
# Check PHP version:
###########################################################################