Skip to content

Commit c6c31fb

Browse files
committed
upgrade qbittorrent
1 parent a18ca20 commit c6c31fb

File tree

6 files changed

+6
-8
lines changed

6 files changed

+6
-8
lines changed

.github/workflows/qbittorrent.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
cache-from: type=registry,ref=${{ secrets.DOCKER_HUB_USERNAME }}/${{ github.job }}:buildcache
3535
cache-to: type=registry,ref=${{ secrets.DOCKER_HUB_USERNAME }}/${{ github.job }}:buildcache,mode=max
3636
build-args: |
37-
VUE_TORRENT_VERSION=1.8.0
37+
VUE_TORRENT_VERSION=2.19.0
3838
- name: Push Docker Description
3939
uses: peter-evans/dockerhub-description@v2
4040
with:

qbittorrent/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM caddy AS builder
2-
ARG VUE_TORRENT_VERSION=0.15.2
2+
ARG VUE_TORRENT_VERSION=2.19.0
33
ADD build_env /build_env
44
WORKDIR /
55
RUN apk add jq curl bash unzip
@@ -10,4 +10,4 @@ FROM linuxserver/qbittorrent
1010
ENV WEB_PORT=18080
1111
COPY --from=builder /usr/bin/caddy /caddy
1212
COPY --from=builder /vuetorrent/public /vuetorrent
13-
ADD run /etc/services.d/caddy/run
13+
ADD root/ /

qbittorrent/build_env

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
#!/usr/bin/env bash
22

33
VERSION=$1
4-
RELEASE_URL=https://api.github.com/repos/WDaan/VueTorrent/releases/tags/v$VERSION
5-
USER_AGENT='Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.192 Safari/537.36'
6-
DOWNLOAD_URL="$(curl -fsSL -H "user-agent: $USER_AGENT" "$RELEASE_URL" | jq -r '.assets[].browser_download_url' | grep "vuetorrent.zip")"
74

8-
curl -L "$DOWNLOAD_URL" --output vuetorrent.zip
5+
curl -L "https://github.com/VueTorrent/VueTorrent/releases/download/v$VERSION/vuetorrent.zip" --output vuetorrent.zip
96
unzip vuetorrent.zip

qbittorrent/run renamed to qbittorrent/root/etc/s6-overlay/s6-rc.d/init-caddy/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ http://:${WEB_PORT} {
4747
EOF
4848
fi
4949

50-
exec s6-setuidgid root /caddy run --config /config/caddy/Caddyfile
50+
exec s6-setuidgid abc /caddy run --config /config/caddy/Caddyfile
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
longrun

qbittorrent/root/etc/s6-overlay/s6-rc.d/user/contents.d/init-caddy

Whitespace-only changes.

0 commit comments

Comments
 (0)