#tradewind:fix mbstring

test
tradewind 4 years ago
parent 0aedbccb1c
commit 0f0debb8ca
  1. 8
      php7.4/dockerfile

@ -12,6 +12,7 @@ RUN apk add --no-cache --virtual .build-deps \
libxml2-dev \
postgresql-dev \
sqlite-dev \
libonig-dev \
&& apk add --no-cache \
curl \
git \
@ -36,4 +37,9 @@ RUN apk add --no-cache --virtual .build-deps \
xml \
zip \
&& curl -s https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer \
&& apk del -f .build-deps
&& apk del -f .build-deps
# 修改 composer 为国内镜像
RUN composer config -g repo.packagist composer https://packagist.laravel-china.org
WORKDIR /var/www
Loading…
Cancel
Save