Removed hash check for composer downloader

This commit is contained in:
William Brawner 2016-07-22 10:10:15 -05:00
parent f1e5ee3fd1
commit 13e3244fea

View file

@ -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');"