diff --git a/Dockerfile b/Dockerfile index b311517..6164cd8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,8 +23,8 @@ COPY ./config/config.inc.php /etc/phpmyadmin/config.inc.php RUN chmod 644 /etc/phpmyadmin/config.inc.php # Install composer -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;" && \ +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 -r "unlink('composer-setup.php');"