diff --git a/Dockerfile b/Dockerfile index e3facee..3dd4c98 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ -FROM swoft/alphp:base -#FROM swoft/alphp:cli #FROM alpine:latest +FROM alpine:3.8 +#FROM swoft/alphp:base +#FROM swoft/alphp:cli LABEL maintainer="david <367013672@qq.com>" version="1.0" diff --git a/app/Client/qBittorrent/qBittorrent.php b/app/Client/qBittorrent/qBittorrent.php index b4ed89f..f051b2e 100644 --- a/app/Client/qBittorrent/qBittorrent.php +++ b/app/Client/qBittorrent/qBittorrent.php @@ -168,7 +168,7 @@ class qBittorrent extends AbstractClient $torrents = json_decode($this->torrentList()); $response = ''; foreach ($torrents as $torrent) { - $response .= $this->torrentDelete($torrent->hash, $deleteFiles); + $response .= $this->delete($torrent->hash, $deleteFiles); } return $response; diff --git a/docker/AMD64/Dockerfile b/docker/AMD64/Dockerfile index 760e702..193f8d5 100644 --- a/docker/AMD64/Dockerfile +++ b/docker/AMD64/Dockerfile @@ -1,6 +1,8 @@ -FROM swoft/alphp:base -#FROM swoft/alphp:cli #FROM alpine:latest +#FROM alpine:3.12 +FROM alpine:3.8 +#FROM swoft/alphp:base +#FROM swoft/alphp:cli LABEL maintainer="david <367013672@qq.com>" version="1.0" @@ -44,7 +46,7 @@ RUN set -ex \ # php7-common \ # php7-bcmath \ php7-curl \ - # php7-ctype \ + # php7-ctype \ php7-dom \ # php7-fileinfo \ # php7-gettext \ @@ -61,6 +63,7 @@ RUN set -ex \ # php7-pdo_mysql \ # php7-pdo_sqlite \ # php7-phar \ + # php7-pcntl \ # php7-posix \ # php7-redis \ php7-simplexml \ diff --git a/docker/Arm64v8/Dockerfile b/docker/Arm64v8/Dockerfile index 6593e0b..6ddfdda 100644 --- a/docker/Arm64v8/Dockerfile +++ b/docker/Arm64v8/Dockerfile @@ -1,4 +1,3 @@ -# FROM arm64v8/alpine # FROM arm64v8/alpine:latest FROM arm64v8/alpine:3.12 diff --git a/readme.md b/readme.md index 974cae6..bc1d965 100644 --- a/readme.md +++ b/readme.md @@ -12,7 +12,7 @@ ![stars](https://img.shields.io/github/stars/ledccn/IYUUAutoReseed)![forks](https://img.shields.io/github/forks/ledccn/IYUUAutoReseed)![release](https://img.shields.io/github/release/ledccn/IYUUAutoReseed.svg) -## 获取脚本,三种方式皆可 +## 获取脚本,四种方式皆可 1. 通过git命令安装 @@ -25,6 +25,10 @@ 3. 直接下载zip源码包 `https://github.com/ledccn/IYUUAutoReseed/archive/master.zip` + +4. Docker使用 + + [https://gitee.com/ledc/IYUUAutoReseed/tree/master/docker](https://gitee.com/ledc/IYUUAutoReseed/tree/master/docker) ## 功能