add mysql to php7.2
This commit is contained in:
@@ -15,8 +15,9 @@ RUN apt-get update && apt-get install -y software-properties-common python-softw
|
||||
&& LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php \
|
||||
&& apt-get update && apt-get install -y \
|
||||
curl nano sed libwww-perl htop ca-certificates \
|
||||
php7.2 php7.2-cli php7.2-fpm php7.2-curl php-pear php7.2-mcrypt php7.2-zip php7.2-mbstring php7.2-xml \
|
||||
php7.2-pgsql php7.2-redis \
|
||||
php7.2 php7.2-cli php7.2-fpm php7.2-curl php-pear php7.2-zip php7.2-mbstring php7.2-xml \
|
||||
php7.2-mysql php7.2-pgsql php7.2-redis \
|
||||
php-mcrypt \
|
||||
\
|
||||
&& apt-cache pkgnames | grep php7.2 \
|
||||
&& rm /usr/bin/php && ln -s /usr/bin/php7.2 /usr/bin/php \
|
||||
@@ -25,3 +26,5 @@ RUN apt-get update && apt-get install -y software-properties-common python-softw
|
||||
COPY ./docker-php-fpm.conf /etc/php/7.2fpm/pool.d/www.conf
|
||||
|
||||
CMD ["/usr/sbin/php-fpm7.2", "-F"]
|
||||
|
||||
#php7.2-mcrypt
|
||||
|
||||
Reference in New Issue
Block a user