Arm64v8/Dockerfile 切换为阿里云镜像、gitee仓库

This commit is contained in:
david 2021-02-04 00:33:36 +08:00
parent c3c1c0131a
commit b995041b40
2 changed files with 6 additions and 4 deletions

View File

@ -17,7 +17,7 @@ ARG app_env=prod
ENV APP_ENV=${app_env:-"prod"} \
TIMEZONE=${timezone:-"Asia/Shanghai"} \
cron="3 */10 * * *"
cron="10 */10 * * *"
##
# ---------- building ----------
@ -26,7 +26,7 @@ ENV APP_ENV=${app_env:-"prod"} \
RUN set -ex \
# change apk source repo
#&& sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/' /etc/apk/repositories \
#&& sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/' /etc/apk/repositories \
&& sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/' /etc/apk/repositories \
&& apk update \
&& apk add --no-cache \
# Install base packages ('ca-certificates' will install 'nghttp2-libs')
@ -79,7 +79,8 @@ RUN set -ex \
php7-zip \
php7-zlib \
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 \
&& cd /IYUU && php -r "file_exists('.env') || copy('.env.example', '.env');" \
&& apk del --purge *-dev \
# install latest composer

View File

@ -7,4 +7,5 @@
- [ ] 前端实时显示任务运行状态Ajax
- [ ] 一键更新到最新版
- [ ] 跨平台的配置导入导出(任务热刷新)
- [ ] 分批次请求辅种解决客户端做种多辅种失败的问题有的客户端内做种6000个
- [ ] 分批次请求辅种解决客户端做种多辅种失败的问题有的客户端内做种6000个
- [ ] 增加开关,未配置的站点不显示日志