framadate : update composer 2
This commit is contained in:
parent
2a4350497f
commit
dd81dda3f1
|
@ -7,7 +7,7 @@ RUN docker-php-ext-install intl && docker-php-ext-install pdo_mysql
|
||||||
|
|
||||||
RUN a2enmod rewrite
|
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/php.ini /usr/local/etc/php/php.ini
|
||||||
COPY docker/apache-framadate.conf /etc/apache2/sites-enabled/framadate.conf
|
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
|
ENV COMPOSER_ALLOW_SUPERUSER=1
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
composer global require "hirak/prestissimo:^0.3" --prefer-dist --no-progress --no-suggest --classmap-authoritative; \
|
|
||||||
composer clear-cache
|
composer clear-cache
|
||||||
ENV PATH="${PATH}:/root/.composer/vendor/bin"
|
ENV PATH="${PATH}:/root/.composer/vendor/bin"
|
||||||
ENV COMPOSER_ALLOW_SUPERUSER 0
|
ENV COMPOSER_ALLOW_SUPERUSER 0
|
||||||
|
|
Loading…
Reference in a new issue