Use Composer v1

This commit is contained in:
Anton Ukhanev 2021-08-26 16:56:49 +02:00
parent 46856f756f
commit f2a5143066

View file

@ -12,7 +12,7 @@ RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
RUN echo 'memory_limit = 128M' >> /usr/local/etc/php/conf.d/docker-php-memlimit.ini;
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && \
php composer-setup.php --install-dir=/usr/bin --filename=composer && \
php composer-setup.php --install-dir=/usr/bin --filename=composer --version=1.10.22 && \
php -r "unlink('composer-setup.php');"
RUN apt-get update