mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2025-05-23 10:05:23 +00:00
更改本地ARM平台打包标签为:iyuu:arm64v8
This commit is contained in:
parent
84394c3a71
commit
a744f5e785
@ -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…
x
Reference in New Issue
Block a user