Install default-mysql-client for PHP 7.3 (#2329)

Install default-mysql-client for PHP 7.3
This commit is contained in:
Lukas Besch
2019-10-25 18:15:40 +02:00
committed by Lan Phan
parent d82734744e
commit 7247d8f7ce
2 changed files with 10 additions and 2 deletions

View File

@ -708,7 +708,11 @@ ARG INSTALL_MYSQL_CLIENT=false
RUN if [ ${INSTALL_MYSQL_CLIENT} = true ]; then \
apt-get update -yqq && \
apt-get -y install mysql-client \
if [ ${LARADOCK_PHP_VERSION} = "7.3" ]; then \
apt-get -y install default-mysql-client \
;else \
apt-get -y install mysql-client \
;fi \
;fi
###########################################################################