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

master
iyuu.cn 5 years ago
parent 84394c3a71
commit a744f5e785
  1. 2
      docker/Arm64v8/Dockerfile
  2. 4
      docker/Arm64v8/build.n1.sh
  3. 4
      docker/Arm64v8/build.sh

@ -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

@ -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

@ -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
Loading…
Cancel
Save