From f71887dc986cac757595b6b3c4e9abaaf5ae86d0 Mon Sep 17 00:00:00 2001 From: Daniel Mohns Date: Wed, 20 Nov 2024 16:55:00 +0100 Subject: [PATCH] Update `composer` --- docker/DockerfileBackendDev | 2 +- docker/DockerfileBackendProd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/DockerfileBackendDev b/docker/DockerfileBackendDev index da9479226..a2fa68d49 100644 --- a/docker/DockerfileBackendDev +++ b/docker/DockerfileBackendDev @@ -36,7 +36,7 @@ RUN docker-php-ext-configure pcntl --enable-pcntl # install composer RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" RUN php -r "if (hash_file('sha384', 'composer-setup.php') === 'dac665fdc30fdd8ec78b38b9800061b4150413ff2e3b6f88543c636f7cd84f6db9189d43a81e5503cda447da73c7e5b6') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" -RUN php composer-setup.php --version=2.7.9 +RUN php composer-setup.php --version=2.8.3 RUN php -r "unlink('composer-setup.php');" RUN mv composer.phar /usr/local/bin/composer diff --git a/docker/DockerfileBackendProd b/docker/DockerfileBackendProd index fd45b9e0c..152ccd4ec 100644 --- a/docker/DockerfileBackendProd +++ b/docker/DockerfileBackendProd @@ -36,7 +36,7 @@ RUN docker-php-ext-configure pcntl --enable-pcntl # install composer RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" RUN php -r "if (hash_file('sha384', 'composer-setup.php') === 'dac665fdc30fdd8ec78b38b9800061b4150413ff2e3b6f88543c636f7cd84f6db9189d43a81e5503cda447da73c7e5b6') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" -RUN php composer-setup.php --version=2.7.9 +RUN php composer-setup.php --version=2.8.3 RUN php -r "unlink('composer-setup.php');" RUN mv composer.phar /usr/local/bin/composer