framadate : update composer 2

This commit is contained in:
Gitouche 2022-02-10 23:47:50 +01:00
parent 2a4350497f
commit dd81dda3f1

View file

@ -7,7 +7,7 @@ RUN docker-php-ext-install intl && docker-php-ext-install pdo_mysql
RUN a2enmod rewrite
COPY --from=docker.io/library/composer:1.10 /usr/bin/composer /usr/bin/composer
COPY --from=docker.io/library/composer:2.2 /usr/bin/composer /usr/bin/composer
COPY docker/php.ini /usr/local/etc/php/php.ini
COPY docker/apache-framadate.conf /etc/apache2/sites-enabled/framadate.conf
@ -15,7 +15,6 @@ COPY docker/entrypoint.sh /usr/local/bin/entrypoint
ENV COMPOSER_ALLOW_SUPERUSER=1
RUN set -eux; \
composer global require "hirak/prestissimo:^0.3" --prefer-dist --no-progress --no-suggest --classmap-authoritative; \
composer clear-cache
ENV PATH="${PATH}:/root/.composer/vendor/bin"
ENV COMPOSER_ALLOW_SUPERUSER 0