更改本地ARM平台打包标签为:iyuu:arm64v8

This commit is contained in:
iyuu.cn 2020-07-31 07:58:53 +08:00
parent 84394c3a71
commit a744f5e785
3 changed files with 6 additions and 4 deletions

View File

@ -17,6 +17,8 @@ RUN set -ex \
&& git clone https://gitee.com/ledc/IYUUAutoReseed.git /IYUU \ && git clone https://gitee.com/ledc/IYUUAutoReseed.git /IYUU \
&& cp /IYUU/config/config.sample.php /IYUU/config/config.php \ && cp /IYUU/config/config.sample.php /IYUU/config/config.php \
&& ln -sf /IYUU/config/config.php /config.php \ && ln -sf /IYUU/config/config.php /config.php \
&& apk del --purge *-dev \
&& rm -rf /var/cache/apk/* /tmp/* /usr/share/man \
&& echo "${TZ}" > /etc/timezone \ && echo "${TZ}" > /etc/timezone \
&& ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime && ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
docker build -t iyuu:latest . docker build -t iyuu:arm64v8 .
docker run -it -v /root/config.php:/config.php -v /var/lib/transmission/torrents:/torrents -v /var/lib/qbittorrent/.local/share/data/qBittorrent/BT_backup:/BT_backup --network bridge --name IYUUAutoReseed --restart always -d iyuu:latest docker run -it -v /root/config.php:/config.php -v /var/lib/transmission/torrents:/torrents -v /var/lib/qbittorrent/.local/share/data/qBittorrent/BT_backup:/BT_backup --network bridge --name IYUUAutoReseed --restart always -d iyuu:arm64v8
docker exec -it IYUUAutoReseed php iyuu.php docker exec -it IYUUAutoReseed php iyuu.php

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
docker build -f Dockerfile -t iyuu:latest . docker build -f Dockerfile -t iyuu:arm64v8 .
docker run -it -v /root/config.php:/config.php --network bridge --name IYUUAutoReseed --restart always -d iyuu:latest docker run -it -v /root/config.php:/config.php --network bridge --name IYUUAutoReseed --restart always -d iyuu:arm64v8
docker exec -it IYUUAutoReseed php iyuu.php docker exec -it IYUUAutoReseed php iyuu.php