Skip to content

Commit 9e94fdb

Browse files
deminylimingxinleo
authored andcommitted
don't install Composer again
1 parent 07aa146 commit 9e94fdb

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Dockerfile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,11 @@ LABEL maintainer="Hyperf Developers <[email protected]>" version="1.0" license="MI
1515
ARG timezone
1616

1717
ENV TIMEZONE=${timezone:-"Asia/Shanghai"} \
18-
COMPOSER_VERSION=1.10.10 \
1918
APP_ENV=prod \
2019
SCAN_CACHEABLE=(true)
2120

2221
# update
2322
RUN set -ex \
24-
# install composer
25-
&& cd /tmp \
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 \
2823
# show php version and extensions
2924
&& php -v \
3025
&& php -m \

0 commit comments

Comments
 (0)