浏览代码

Pinned Composer version in all PHP docker images

Mark Shust 1 年之前
父节点
当前提交
4063e05808
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      images/php/8.1/Dockerfile
  2. 1 1
      images/php/8.3/Dockerfile

+ 1 - 1
images/php/8.1/Dockerfile

@@ -93,7 +93,7 @@ RUN git clone --branch v0.4.15 --depth=1 https://github.com/NoiseByNorthwest/php
     && make install
 
 RUN curl -sS https://getcomposer.org/installer | \
-  php -- --install-dir=/usr/local/bin --filename=composer
+  php -- --version=2.6.6 --install-dir=/usr/local/bin --filename=composer
 
 COPY conf/blackfire.ini $PHP_INI_DIR/conf.d/blackfire.ini
 COPY conf/spx.ini $PHP_INI_DIR/conf.d/spx.ini

+ 1 - 1
images/php/8.3/Dockerfile

@@ -104,7 +104,7 @@ RUN git clone --branch v0.4.15 --depth=1 https://github.com/NoiseByNorthwest/php
     && make install
 
 RUN curl -sS https://getcomposer.org/installer | \
-  php -- --install-dir=/usr/local/bin --filename=composer
+  php -- --version=2.6.6 --install-dir=/usr/local/bin --filename=composer
 
 COPY conf/blackfire.ini $PHP_INI_DIR/conf.d/blackfire.ini
 COPY conf/spx.ini $PHP_INI_DIR/conf.d/spx.ini