File tree Expand file tree Collapse file tree 6 files changed +6
-8
lines changed
root/etc/s6-overlay/s6-rc.d Expand file tree Collapse file tree 6 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 34
34
cache-from : type=registry,ref=${{ secrets.DOCKER_HUB_USERNAME }}/${{ github.job }}:buildcache
35
35
cache-to : type=registry,ref=${{ secrets.DOCKER_HUB_USERNAME }}/${{ github.job }}:buildcache,mode=max
36
36
build-args : |
37
- VUE_TORRENT_VERSION=1.8 .0
37
+ VUE_TORRENT_VERSION=2.19 .0
38
38
- name : Push Docker Description
39
39
uses : peter-evans/dockerhub-description@v2
40
40
with :
Original file line number Diff line number Diff line change 1
1
FROM caddy AS builder
2
- ARG VUE_TORRENT_VERSION=0.15.2
2
+ ARG VUE_TORRENT_VERSION=2.19.0
3
3
ADD build_env /build_env
4
4
WORKDIR /
5
5
RUN apk add jq curl bash unzip
@@ -10,4 +10,4 @@ FROM linuxserver/qbittorrent
10
10
ENV WEB_PORT=18080
11
11
COPY --from=builder /usr/bin/caddy /caddy
12
12
COPY --from=builder /vuetorrent/public /vuetorrent
13
- ADD run /etc/services.d/caddy/run
13
+ ADD root/ /
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
3
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" ) "
7
4
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
9
6
unzip vuetorrent.zip
Original file line number Diff line number Diff line change @@ -47,4 +47,4 @@ http://:${WEB_PORT} {
47
47
EOF
48
48
fi
49
49
50
- exec s6-setuidgid root /caddy run --config /config/caddy/Caddyfile
50
+ exec s6-setuidgid abc /caddy run --config /config/caddy/Caddyfile
Original file line number Diff line number Diff line change
1
+ longrun
You can’t perform that action at this time.
0 commit comments