Commit cc7785b6c3d53f3de36b7834e697ecab36a9da51
Committed by
GitHub
1 parent
b988d664
Exists in
2.8
and in
6 other branches
Update Dockerfile
Não faz sentido verificar se a hash do arquivo do composer baixado é igual a uma hash fixa dentro do workflow devido a atualizações no composer quebrarem essa etapa da do processo.
Showing
1 changed file
with
1 additions
and
4 deletions
Show diff stats
docker/php/Dockerfile
... | ... | @@ -47,10 +47,7 @@ RUN apt-get install -y jq git |
47 | 47 | |
48 | 48 | RUN ln -s /var/www/ieducar/artisan /usr/local/bin/artisan |
49 | 49 | |
50 | -RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | |
51 | -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;" | |
52 | -RUN php composer-setup.php --install-dir=/usr/local/bin --filename=composer | |
53 | -RUN php -r "unlink('composer-setup.php');" | |
50 | +RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer | |
54 | 51 | |
55 | 52 | COPY xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini |
56 | 53 | ... | ... |