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.4-apcu php8.4-bcmath php8.4-bz2 php8.4-cli php8.4-common php8.4-curl php8.4-fpm php8.4-gd php8.4-gmp php8.4-igbinary php8.4-imagick php8.4-imap php8.4-intl php8.4-mailparse php8.4-mbstring php8.4-memcached php8.4-mongodb php8.4-msgpack php8.4-mysql php8.4-opcache php8.4-pgsql php8.4-raphf php8.4-readline php8.4-redis php8.4-soap php8.4-sqlite3 php8.4-tidy php8.4-uuid php8.4-xml php8.4-xsl php8.4-yaml php8.4-zip php8.4-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 \