Commit 1e4f9f93e28db40af9c8d783fa0794a2de4f0ec6

Authored by Eder Soares
1 parent 32e2cc60
Exists in 2.8 and in 7 other branches 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7

Atualiza Composer no container PHP

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
docker/php/Dockerfile
... ... @@ -34,7 +34,7 @@ RUN apt-get install -y openjdk-8-jre
34 34 RUN docker-php-ext-install bcmath
35 35  
36 36 RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
37   -RUN php -r "if (hash_file('sha384', 'composer-setup.php') === '93b54496392c062774670ac18b134c3b3a95e5a5e5c8f1a9f115f203b75bf9a129d5daa8ba6a13e2cc8a1da0806388a8') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
  37 +RUN php -r "if (hash_file('sha384', 'composer-setup.php') === '48e3236262b34d30969dca3c37281b3b4bbe3221bda826ac6a9a62d6444cdb0dcd0615698a5cbe587c3f0fe57a54d8f5') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
38 38 RUN php composer-setup.php --install-dir=/usr/local/bin --filename=composer
39 39 RUN php -r "unlink('composer-setup.php');"
40 40  
... ...