Compare commits

...

3 Commits
master ... test

  1. 6
      php7.4/dockerfile

@ -36,7 +36,9 @@ RUN apk add --no-cache --virtual .build-deps \
&& curl -s https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer \
&& apk del -f .build-deps
RUN apk --no-cache add shadow && \
usermod -u 1000 www-data && \
groupmod -g 1000 www-data
# 修改 composer 为国内镜像
RUN composer config -g repo.packagist composer https://mirrors.cloud.tencent.com/composer/
WORKDIR /var/www
Loading…
Cancel
Save