Skip to content

Commit

Permalink
update composer to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
mylxsw committed Aug 29, 2022
1 parent fcdf040 commit 522e619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN apt-get update && apt-get install -y \
&& docker-php-ext-install -j$(nproc) pcntl exif pdo_mysql zip ldap \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install -j$(nproc) gd
RUN wget https://getcomposer.org/download/1.6.4/composer.phar \
RUN wget https://mirrors.aliyun.com/composer/composer.phar \
&& mv composer.phar /usr/bin/composer.phar \
&& chmod +x /usr/bin/composer.phar \
&& ln -s /usr/bin/composer.phar /usr/bin/composer \
Expand Down

0 comments on commit 522e619

Please sign in to comment.