rework the composer and php images
This commit is contained in:
@@ -17,6 +17,7 @@ RUN apt-get update && apt-get install -y software-properties-common python-softw
|
||||
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/* \
|
||||
&& php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
|
||||
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer
|
||||
|
||||
Reference in New Issue
Block a user