Ver Fonte

composer change

Patric há 1 ano atrás
pai
commit
fb6047d470
1 ficheiros alterados com 1 adições e 2 exclusões
  1. 1 2
      Dockerfile

+ 1 - 2
Dockerfile

@@ -8,5 +8,4 @@ RUN apt upgrade -y
 RUN apt install php php-mbstring php-xml php-pdo php-mysql php-xdebug -y
 RUN apt install curl -y
 RUN cd /tmp
-RUN curl -sS https://getcomposer.org/installer | php
-RUN mv composer.phar /usr/local/bin/composer
+RUN curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer