Removed hash check for composer downloader
This commit is contained in:
parent
f1e5ee3fd1
commit
13e3244fea
1 changed files with 0 additions and 1 deletions
|
@ -24,7 +24,6 @@ RUN chmod 644 /etc/phpmyadmin/config.inc.php
|
||||||
|
|
||||||
# Install composer
|
# Install composer
|
||||||
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && \
|
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && \
|
||||||
php -r "if (hash_file('SHA384', 'composer-setup.php') === '070854512ef404f16bac87071a6db9fd9721da1684cd4589b1196c3faf71b9a2682e2311b36a5079825e155ac7ce150d') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" && \
|
|
||||||
php composer-setup.php && \
|
php composer-setup.php && \
|
||||||
php -r "unlink('composer-setup.php');"
|
php -r "unlink('composer-setup.php');"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue