fix composer hash
Some checks failed
ci/woodpecker/push/build/1 Pipeline failed
ci/woodpecker/push/build/5 Pipeline failed
ci/woodpecker/push/build/3 Pipeline was successful
ci/woodpecker/push/build/4 Pipeline was successful
ci/woodpecker/push/build/2 Pipeline was successful

This commit is contained in:
Simon Vieille 2025-11-01 15:58:23 +01:00
commit b10e15cc6a
Signed by: deblan
GPG key ID: 579388D585F70417
9 changed files with 9 additions and 9 deletions

View file

@ -7,7 +7,7 @@ RUN apt-get update \
&& apt-get update \
&& apt-get install -y curl php8.5-apcu php8.5-bcmath php8.5-bz2 php8.5-cli php8.5-common php8.5-curl php8.5-fpm php8.5-gd php8.5-gmp php8.5-igbinary php8.5-imagick php8.5-imap php8.5-intl php8.5-mailparse php8.5-mbstring php8.5-memcached php8.5-mongodb php8.5-msgpack php8.5-mysql php8.5-opcache php8.5-pgsql php8.5-raphf php8.5-readline php8.5-redis php8.5-soap php8.5-sqlite3 php8.5-tidy php8.5-uuid php8.5-xml php8.5-xsl php8.5-yaml php8.5-zip php8.5-xmlrpc \
&& php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
&& php -r "if (hash_file('sha384', 'composer-setup.php') === 'ed0feb545ba87161262f2d45a633e34f591ebb3381f2e0063c345ebea4d228dd0043083717770234ec00c5a9f9593792') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" \
&& php -r "if (hash_file('sha384', 'composer-setup.php') === 'c8b085408188070d5f52bcfe4ecfbee5f727afa458b2573b8eaaf77b3419b0bf2768dc67c86944da1544f06fa544fd47') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" \
&& php composer-setup.php \
&& php -r "unlink('composer-setup.php');" \
&& mv composer.phar /usr/local/bin/composer \