先从github克隆,再重设为gitee,否则镜像都创建不了

This commit is contained in:
anonymous 2021-09-04 17:57:24 +08:00
parent bba5fb5e6f
commit 2f219e0de8

View File

@ -80,8 +80,10 @@ RUN set -ex \
php7-zip \ php7-zip \
php7-zlib \ php7-zlib \
php7-xml \ php7-xml \
# && git clone https://github.com/ledccn/IYUUPlus.git /IYUU \ && git clone https://github.com/ledccn/IYUUPlus.git /IYUU \
&& git clone https://gitee.com/ledc/iyuuplus.git /IYUU \ # && git clone https://gitee.com/ledc/iyuuplus.git /IYUU \
&& git remote set-url origin https://gitee.com/ledc/iyuuplus.git \
&& git config --global pull.ff only \
&& cd /IYUU && php -r "file_exists('.env') || copy('.env.example', '.env');" \ && cd /IYUU && php -r "file_exists('.env') || copy('.env.example', '.env');" \
&& apk del --purge *-dev \ && apk del --purge *-dev \
# install latest composer # install latest composer