Compare commits

...

3 Commits

Author SHA1 Message Date
LinuxServer-CI
6483e582e8 Bot Updating Package Versions 2022-08-31 12:45:00 -05:00
LinuxServer-CI
61d98c0113 Bot Updating Templated Files 2022-08-31 19:42:20 +02:00
Adam
a8abbc12e2 v3ify qbittorrent image (#184) 2022-08-31 18:41:04 +01:00
21 changed files with 66 additions and 84 deletions

View File

@@ -18,7 +18,7 @@ jobs:
fi
echo "**** External trigger running off of master branch. To disable this trigger, set a Github secret named \"PAUSE_EXTERNAL_TRIGGER_QBITTORRENT_MASTER\". ****"
echo "**** Retrieving external version ****"
EXT_RELEASE=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
EXT_RELEASE=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
&& awk '/^P:'"qbittorrent-nox"'$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://')
if [ -z "${EXT_RELEASE}" ] || [ "${EXT_RELEASE}" == "null" ]; then
echo "**** Can't retrieve external version, exiting ****"

View File

@@ -1,4 +1,4 @@
FROM ghcr.io/linuxserver/baseimage-alpine:3.16
FROM ghcr.io/linuxserver/baseimage-alpine:edge
# set version label
ARG BUILD_DATE
@@ -42,7 +42,7 @@ RUN \
make && \
install -v -m755 unrar /usr/bin && \
if [ -z ${QBITTORRENT_VERSION+x} ]; then \
QBITTORRENT_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
QBITTORRENT_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
&& awk '/^P:qbittorrent-nox$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
fi && \
apk add -U --upgrade --no-cache \

View File

@@ -1,4 +1,4 @@
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.16
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-edge
# set version label
ARG BUILD_DATE
@@ -42,7 +42,7 @@ RUN \
make && \
install -v -m755 unrar /usr/bin && \
if [ -z ${QBITTORRENT_VERSION+x} ]; then \
QBITTORRENT_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
QBITTORRENT_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
&& awk '/^P:qbittorrent-nox$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
fi && \
apk add -U --upgrade --no-cache \

View File

@@ -1,4 +1,4 @@
FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.16
FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-edge
# set version label
ARG BUILD_DATE
@@ -44,7 +44,7 @@ RUN \
make && \
install -v -m755 unrar /usr/bin && \
if [ -z ${QBITTORRENT_VERSION+x} ]; then \
QBITTORRENT_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
QBITTORRENT_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
&& awk '/^P:qbittorrent-nox$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
fi && \
apk add -U --upgrade --no-cache \

4
Jenkinsfile vendored
View File

@@ -25,8 +25,8 @@ pipeline {
DEV_DOCKERHUB_IMAGE = 'lsiodev/qbittorrent'
PR_DOCKERHUB_IMAGE = 'lspipepr/qbittorrent'
DIST_IMAGE = 'alpine'
DIST_TAG = '3.16'
DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.16/community/'
DIST_TAG = 'edge'
DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/edge/community/'
DIST_REPO_PACKAGES = 'qbittorrent-nox'
MULTIARCH='true'
CI='true'

View File

@@ -72,7 +72,6 @@ The webui is at `<your-ip>:8080` and the default username/password is `admin/adm
Change username/password via the webui in the webui section of settings.
### WEBUI_PORT variable
Due to issues with CSRF and port mapping, should you require to alter the port for the webui you need to change both sides of the -p 8080 switch AND set the WEBUI_PORT variable to the new port.
@@ -85,7 +84,7 @@ If you have no webui , check the file /config/qBittorrent/qBittorrent.conf
edit or add the following lines
```
```text
WebUI\Address=*
WebUI\ServerDomains=*
@@ -264,6 +263,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions
* **31.08.22:** - Rebase to Alpine Edge again to follow latest releases.
* **12.08.22:** - Bump unrar to 6.1.7.
* **16.06.22:** - Rebase to Alpine 3.16 from edge.
* **25.05.22:** - Fetch qbitorrent-cli from upstream repo.

View File

@@ -15,8 +15,8 @@ repo_vars:
- DEV_DOCKERHUB_IMAGE = 'lsiodev/qbittorrent'
- PR_DOCKERHUB_IMAGE = 'lspipepr/qbittorrent'
- DIST_IMAGE = 'alpine'
- DIST_TAG = '3.16'
- DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.16/community/'
- DIST_TAG = 'edge'
- DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/edge/community/'
- DIST_REPO_PACKAGES = 'qbittorrent-nox'
- MULTIARCH='true'
- CI='true'

View File

@@ -1,78 +1,63 @@
alpine-baselayout-3.2.0-r22
alpine-baselayout-data-3.2.0-r22
alpine-baselayout-3.3.0-r0
alpine-baselayout-data-3.3.0-r0
alpine-keys-2.4-r1
apk-tools-2.12.9-r3
apk-tools-2.12.9-r6
bash-5.1.16-r2
brotli-libs-1.0.9-r6
busybox-1.35.0-r17
ca-certificates-20220614-r0
ca-certificates-bundle-20220614-r0
brotli-libs-1.0.9-r8
busybox-1.35.0-r23
busybox-binsh-1.35.0-r23
ca-certificates-20220614-r2
ca-certificates-bundle-20220614-r2
coreutils-9.1-r0
curl-7.83.1-r2
dbus-libs-1.14.0-r1
curl-7.84.0-r2
dbus-libs-1.14.0-r2
double-conversion-3.1.5-r0
expat-2.4.8-r0
file-5.41-r0
gdbm-1.23-r0
glib-2.72.1-r0
gmp-6.2.1-r2
icu-data-en-71.1-r2
icu-libs-71.1-r2
libacl-2.3.1-r0
glib-2.72.3-r0
icu-data-en-71.1-r4
icu-libs-71.1-r4
libacl-2.3.1-r1
libattr-2.5.1-r1
libb2-0.98.1-r2
libblkid-2.38-r1
libbz2-1.0.8-r1
libblkid-2.38.1-r0
libbz2-1.0.8-r2
libc-utils-0.7.2-r3
libcrypto1.1-1.1.1q-r0
libcurl-7.83.1-r2
libcrypto3-3.0.5-r2
libcurl-7.84.0-r2
libexpat-2.4.8-r1
libffi-3.4.2-r1
libgcc-11.2.1_git20220219-r2
libgomp-11.2.1_git20220219-r2
libice-1.0.10-r0
libintl-0.21-r2
libmagic-5.41-r0
libmount-2.38-r1
libgcc-12.1.1_git20220630-r1
libgomp-12.1.1_git20220630-r1
libintl-0.21-r3
libmount-2.38.1-r0
libpcre2-16-10.40-r0
libproc-3.3.17-r1
libsm-1.2.3-r0
libssl1.1-1.1.1q-r0
libstdc++-11.2.1_git20220219-r2
libtorrent-rasterbar-2.0.6-r1
libuuid-2.38-r1
libx11-1.8-r0
libxau-1.0.9-r0
libxcb-1.15-r0
libxdmcp-1.1.3-r0
libxext-1.3.4-r0
libxmu-1.1.3-r0
libxt-1.2.1-r0
linux-pam-1.5.2-r0
libssl3-3.0.5-r2
libstdc++-12.1.1_git20220630-r1
libtorrent-rasterbar-2.0.7-r2
linux-pam-1.5.2-r1
mpdecimal-2.5.1-r1
musl-1.2.3-r0
musl-utils-1.2.3-r0
ncurses-libs-6.3_p20220521-r0
ncurses-terminfo-base-6.3_p20220521-r0
nghttp2-libs-1.47.0-r0
openssl-1.1.1q-r0
p7zip-17.04-r2
musl-1.2.3-r1
musl-utils-1.2.3-r1
ncurses-libs-6.3_p20220827-r0
ncurses-terminfo-base-6.3_p20220827-r0
nghttp2-libs-1.49.0-r0
openssl-3.0.5-r2
p7zip-17.04-r3
pcre-8.45-r2
procps-3.3.17-r1
python3-3.10.5-r0
qbittorrent-nox-4.4.3.1-r1
qt6-qtbase-6.3.0-r2
python3-3.10.6-r1
qbittorrent-nox-4.4.4-r0
qt6-qtbase-6.3.1-r4
readline-8.1.2-r0
scanelf-1.3.4-r0
scanelf-1.3.5-r0
shadow-4.10-r3
skalibs-2.11.2.0-r0
sqlite-libs-3.38.5-r0
ssl_client-1.35.0-r17
skalibs-2.12.0.0-r0
sqlite-libs-3.39.2-r0
ssl_client-1.35.0-r23
tzdata-2022c-r0
utmps-libs-0.1.2.0-r0
xdg-utils-1.1.3-r3
xprop-1.2.5-r0
xset-1.2.4-r0
xz-5.2.5-r1
xz-libs-5.2.5-r1
utmps-libs-0.1.2.0-r1
xz-5.2.6-r0
xz-libs-5.2.6-r0
zlib-1.2.12-r3
zstd-libs-1.5.2-r1
zstd-libs-1.5.2-r5

View File

@@ -46,7 +46,6 @@ app_setup_block: |
Change username/password via the webui in the webui section of settings.
### WEBUI_PORT variable
Due to issues with CSRF and port mapping, should you require to alter the port for the webui you need to change both sides of the -p 8080 switch AND set the WEBUI_PORT variable to the new port.
@@ -59,7 +58,7 @@ app_setup_block: |
edit or add the following lines
```
```text
WebUI\Address=*
WebUI\ServerDomains=*
@@ -69,6 +68,7 @@ app_setup_block: |
# changelog
changelogs:
- { date: "31.08.22:", desc: "Rebase to Alpine Edge again to follow latest releases." }
- { date: "12.08.22:", desc: "Bump unrar to 6.1.7." }
- { date: "16.06.22:", desc: "Rebase to Alpine 3.16 from edge." }
- { date: "25.05.22:", desc: "Fetch qbitorrent-cli from upstream repo." }

View File

@@ -3,17 +3,10 @@
# make our folder
mkdir -p /config/qBittorrent
# copy config
# copy default config
[[ ! -e /config/qBittorrent/qBittorrent.conf ]] && \
cp /defaults/qBittorrent.conf /config/qBittorrent/qBittorrent.conf
# v4.3.3 BT_backup migration
[[ -d /config/data/qBittorrent/BT_backup/ ]] && \
mv /config/qBittorrent/BT_backup/ /config/qBittorrent/BT_backup.bak/ && \
mkdir /config/qBittorrent/BT_backup/ && \
cp -a /config/data/qBittorrent/BT_backup/. /config/qBittorrent/BT_backup/ && \
mv /config/data/qBittorrent/BT_backup/ /config/data/qBittorrent/BT_backup.old/
# chown download directory if currently not set to abc
if [[ -d /downloads ]]; then
if [[ "$(stat -c '%U' /downloads)" != "abc" ]]; then

View File

@@ -0,0 +1 @@
oneshot

View File

@@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/init-qbittorrent/run

View File

@@ -0,0 +1 @@
3

View File

@@ -2,5 +2,5 @@
WEBUI_PORT=${WEBUI_PORT:-8080}
exec \
s6-notifyoncheck -d -n 12 -c "nc -z 127.0.0.1 ${WEBUI_PORT}" \
s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}"

View File

@@ -0,0 +1 @@
longrun