Skip to content

Commit 07aa146

Browse files
authored
turn off verbose output when downloading Composer (#50)
1 parent c3ef908 commit 07aa146

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ ENV TIMEZONE=${timezone:-"Asia/Shanghai"} \
2323
RUN set -ex \
2424
# install composer
2525
&& cd /tmp \
26-
&& wget https://github.com/composer/composer/releases/download/${COMPOSER_VERSION}/composer.phar \
27-
&& chmod u+x composer.phar \
28-
&& mv composer.phar /usr/local/bin/composer \
26+
&& wget -nv -O /usr/local/bin/composer https://github.com/composer/composer/releases/download/${COMPOSER_VERSION}/composer.phar \
27+
&& chmod u+x /usr/local/bin/composer \
2928
# show php version and extensions
3029
&& php -v \
3130
&& php -m \

0 commit comments

Comments
 (0)