rework the composer and php images
This commit is contained in:
@@ -15,13 +15,13 @@ 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.1 php-cli php-fpm php-curl php-pear php-mcrypt php-zip php-mbstring php-xml \
|
||||
php7.1 php7.1-cli php7.1-fpm php-curl php-pear php-mcrypt php-zip php-mbstring php-xml \
|
||||
php-pgsql php-redis \
|
||||
\
|
||||
&& apt-cache pkgnames | grep php7.1 \
|
||||
&& rm /usr/bin/php && ln -s /usr/bin/php7.1 /usr/bin/php \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
|
||||
COPY ./docker-php-fpm.conf /etc/php/7.1fpm/pool.d/www.conf
|
||||
|
||||
ENTRYPOINT ["/usr/sbin/php-fpm7.1", "-F"]
|
||||
CMD ["/usr/sbin/php-fpm7.1", "-F"]
|
||||
|
||||
Reference in New Issue
Block a user