Commit 457a05bd authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

PHP 8.x : forçage de la version de composer.

parent d3739631
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -134,8 +134,8 @@ RUN a2disconf security.conf && \
    a2enconf security-unicaen.conf php${PHP_VERSION}-fpm

# Composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
# plus besoin de hirak/prestissimo avec composer v2.
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --version 1.10.19 && \
    composer global require hirak/prestissimo --no-plugins --no-scripts

# Nettoyage
RUN apt-get autoremove -y && apt-get clean && rm -rf /tmp/* /var/tmp/*
+2 −2
Original line number Diff line number Diff line
@@ -134,8 +134,8 @@ a2disconf security.conf && \
a2enconf security-unicaen.conf php${PHP_VERSION}-fpm

# Composer
curl -sS https://getcomposer.org/installer --proxy "${https_proxy}" | php -- --install-dir=/usr/local/bin --filename=composer
# plus besoin de hirak/prestissimo avec composer v2
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --version 1.10.19 && \
composer global require hirak/prestissimo --no-plugins --no-scripts

# Nettoyage
apt autoremove -y && apt clean