瀏覽代碼

Merge pull request #341 from torhoehn/feature/keep-composer-v1

set composer to latest v1
Mark Shust 4 年之前
父節點
當前提交
502c695f41
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      images/php/7.3/Dockerfile
  2. 1 1
      images/php/7.4/Dockerfile

+ 1 - 1
images/php/7.3/Dockerfile

@@ -87,7 +87,7 @@ RUN curl -sSLO https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mh
   && mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail
 
 RUN curl -sS https://getcomposer.org/installer | \
-  php -- --version=1.10.15 --install-dir=/usr/local/bin --filename=composer
+  php -- --1 --install-dir=/usr/local/bin --filename=composer
 
 RUN curl -s https://packages.blackfire.io/gpg.key | apt-key add - \
   && echo "deb http://packages.blackfire.io/debian any main" | tee /etc/apt/sources.list.d/blackfire.list \

+ 1 - 1
images/php/7.4/Dockerfile

@@ -87,7 +87,7 @@ RUN curl -sSLO https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mh
   && mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail
 
 RUN curl -sS https://getcomposer.org/installer | \
-  php -- --version=1.10.15 --install-dir=/usr/local/bin --filename=composer
+  php -- --1 --install-dir=/usr/local/bin --filename=composer
 
 RUN curl -s https://packages.blackfire.io/gpg.key | apt-key add - \
   && echo "deb http://packages.blackfire.io/debian any main" | tee /etc/apt/sources.list.d/blackfire.list \