#tradewind:fix mbstring
This commit is contained in:
@ -12,6 +12,7 @@ RUN apk add --no-cache --virtual .build-deps \
|
|||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
postgresql-dev \
|
postgresql-dev \
|
||||||
sqlite-dev \
|
sqlite-dev \
|
||||||
|
libonig-dev \
|
||||||
&& apk add --no-cache \
|
&& apk add --no-cache \
|
||||||
curl \
|
curl \
|
||||||
git \
|
git \
|
||||||
@ -37,3 +38,8 @@ RUN apk add --no-cache --virtual .build-deps \
|
|||||||
zip \
|
zip \
|
||||||
&& curl -s https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer \
|
&& 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
|
Reference in New Issue
Block a user