rework the composer and php images

This commit is contained in:
2018-04-19 21:43:57 -04:00
parent cfa19949b6
commit 0b2af71162
10 changed files with 79 additions and 6 deletions

View File

@@ -16,7 +16,7 @@ RUN apt-get update && apt-get install -y software-properties-common python-softw
php7.2 php-cli php-fpm php-curl php-pear php-mcrypt php-zip php-mbstring php-xml \
php-pgsql php-redis \
\
&& apt-cache pkgnames | grep php7.1 \
&& apt-cache pkgnames | grep php7.2 \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
&& php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer