Compare commits

...

9 Commits

Author SHA1 Message Date
LinuxServer-CI
dde6f08046 Bot Updating Package Versions 2022-09-19 00:19:09 -05:00
LinuxServer-CI
56ac0242f7 Bot Updating Templated Files 2022-09-19 07:15:49 +02:00
LinuxServer-CI
18d310d3c0 Bot Updating Package Versions 2022-09-12 07:17:07 +02:00
LinuxServer-CI
b0261130d1 Bot Updating Package Versions 2022-09-05 07:10:23 +02:00
LinuxServer-CI
38ce6e4eaf Bot Updating Package Versions 2022-08-31 15:52:36 -05:00
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
LinuxServer-CI
97d4b22608 Bot Updating Package Versions 2022-08-29 07:11:28 +02:00
21 changed files with 69 additions and 87 deletions

View File

@@ -18,7 +18,7 @@ jobs:
fi fi
echo "**** External trigger running off of master branch. To disable this trigger, set a Github secret named \"PAUSE_EXTERNAL_TRIGGER_QBITTORRENT_MASTER\". ****" 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 ****" 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://') && awk '/^P:'"qbittorrent-nox"'$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://')
if [ -z "${EXT_RELEASE}" ] || [ "${EXT_RELEASE}" == "null" ]; then if [ -z "${EXT_RELEASE}" ] || [ "${EXT_RELEASE}" == "null" ]; then
echo "**** Can't retrieve external version, exiting ****" 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 # set version label
ARG BUILD_DATE ARG BUILD_DATE
@@ -42,7 +42,7 @@ RUN \
make && \ make && \
install -v -m755 unrar /usr/bin && \ install -v -m755 unrar /usr/bin && \
if [ -z ${QBITTORRENT_VERSION+x} ]; then \ 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://'); \ && awk '/^P:qbittorrent-nox$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
fi && \ fi && \
apk add -U --upgrade --no-cache \ 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 # set version label
ARG BUILD_DATE ARG BUILD_DATE
@@ -42,7 +42,7 @@ RUN \
make && \ make && \
install -v -m755 unrar /usr/bin && \ install -v -m755 unrar /usr/bin && \
if [ -z ${QBITTORRENT_VERSION+x} ]; then \ 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://'); \ && awk '/^P:qbittorrent-nox$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
fi && \ fi && \
apk add -U --upgrade --no-cache \ 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 # set version label
ARG BUILD_DATE ARG BUILD_DATE
@@ -44,7 +44,7 @@ RUN \
make && \ make && \
install -v -m755 unrar /usr/bin && \ install -v -m755 unrar /usr/bin && \
if [ -z ${QBITTORRENT_VERSION+x} ]; then \ 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://'); \ && awk '/^P:qbittorrent-nox$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
fi && \ fi && \
apk add -U --upgrade --no-cache \ apk add -U --upgrade --no-cache \

6
Jenkinsfile vendored
View File

@@ -25,8 +25,8 @@ pipeline {
DEV_DOCKERHUB_IMAGE = 'lsiodev/qbittorrent' DEV_DOCKERHUB_IMAGE = 'lsiodev/qbittorrent'
PR_DOCKERHUB_IMAGE = 'lspipepr/qbittorrent' PR_DOCKERHUB_IMAGE = 'lspipepr/qbittorrent'
DIST_IMAGE = 'alpine' DIST_IMAGE = 'alpine'
DIST_TAG = '3.16' DIST_TAG = 'edge'
DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.16/community/' DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/edge/community/'
DIST_REPO_PACKAGES = 'qbittorrent-nox' DIST_REPO_PACKAGES = 'qbittorrent-nox'
MULTIARCH='true' MULTIARCH='true'
CI='true' CI='true'
@@ -714,7 +714,7 @@ pipeline {
-e DO_REGION="ams3" \ -e DO_REGION="ams3" \
-e DO_BUCKET="lsio-ci" \ -e DO_BUCKET="lsio-ci" \
-t ghcr.io/linuxserver/ci:latest \ -t ghcr.io/linuxserver/ci:latest \
python /ci/ci.py''' python3 test_build.py'''
} }
} }
} }

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. Change username/password via the webui in the webui section of settings.
### WEBUI_PORT variable ### 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. 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 edit or add the following lines
``` ```text
WebUI\Address=* WebUI\Address=*
WebUI\ServerDomains=* WebUI\ServerDomains=*
@@ -264,6 +263,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions ## Versions
* **31.08.22:** - Rebase to Alpine Edge again to follow latest releases.
* **12.08.22:** - Bump unrar to 6.1.7. * **12.08.22:** - Bump unrar to 6.1.7.
* **16.06.22:** - Rebase to Alpine 3.16 from edge. * **16.06.22:** - Rebase to Alpine 3.16 from edge.
* **25.05.22:** - Fetch qbitorrent-cli from upstream repo. * **25.05.22:** - Fetch qbitorrent-cli from upstream repo.

View File

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

View File

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

View File

@@ -46,7 +46,6 @@ app_setup_block: |
Change username/password via the webui in the webui section of settings. Change username/password via the webui in the webui section of settings.
### WEBUI_PORT variable ### 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. 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 edit or add the following lines
``` ```text
WebUI\Address=* WebUI\Address=*
WebUI\ServerDomains=* WebUI\ServerDomains=*
@@ -69,6 +68,7 @@ app_setup_block: |
# changelog # changelog
changelogs: 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: "12.08.22:", desc: "Bump unrar to 6.1.7." }
- { date: "16.06.22:", desc: "Rebase to Alpine 3.16 from edge." } - { date: "16.06.22:", desc: "Rebase to Alpine 3.16 from edge." }
- { date: "25.05.22:", desc: "Fetch qbitorrent-cli from upstream repo." } - { date: "25.05.22:", desc: "Fetch qbitorrent-cli from upstream repo." }

View File

@@ -3,17 +3,10 @@
# make our folder # make our folder
mkdir -p /config/qBittorrent mkdir -p /config/qBittorrent
# copy config # copy default config
[[ ! -e /config/qBittorrent/qBittorrent.conf ]] && \ [[ ! -e /config/qBittorrent/qBittorrent.conf ]] && \
cp /defaults/qBittorrent.conf /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 # chown download directory if currently not set to abc
if [[ -d /downloads ]]; then if [[ -d /downloads ]]; then
if [[ "$(stat -c '%U' /downloads)" != "abc" ]]; 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} 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}" s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}"

View File

@@ -0,0 +1 @@
longrun