Compare commits
38 Commits
14.3.8.992
...
4.4.1-r0-l
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e9c36e0989 | ||
|
|
afe1de3e7f | ||
|
|
0ec11ff56a | ||
|
|
0ff8121521 | ||
|
|
df6b84fcee | ||
|
|
9a6fca93a4 | ||
|
|
3f1abde2d5 | ||
|
|
aa53903516 | ||
|
|
11399fc0b8 | ||
|
|
d86db02334 | ||
|
|
7c0eb4e676 | ||
|
|
f4688d02a6 | ||
|
|
e219ebb68a | ||
|
|
6b33e52b99 | ||
|
|
d8521268eb | ||
|
|
0589233f7e | ||
|
|
73869214a6 | ||
|
|
4ca216b6a5 | ||
|
|
7e84208a53 | ||
|
|
7c6e03cbee | ||
|
|
0d8a8358bc | ||
|
|
d8875f90f2 | ||
|
|
ffcce8c8ca | ||
|
|
196ab45449 | ||
|
|
ae8a2b630c | ||
|
|
bc82fbd112 | ||
|
|
6ff254fa94 | ||
|
|
161be85ba4 | ||
|
|
ab5459e94a | ||
|
|
8eedd9fc6b | ||
|
|
52f71c421d | ||
|
|
3864769098 | ||
|
|
3959ef3929 | ||
|
|
d0bd08d681 | ||
|
|
31fd25b76e | ||
|
|
f602e3f3de | ||
|
|
404387d1bf | ||
|
|
b43a38d223 |
22
.github/workflows/external_trigger.yml
vendored
22
.github/workflows/external_trigger.yml
vendored
@@ -18,7 +18,8 @@ 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 -sX GET http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu/dists/focal/main/binary-amd64/Packages.gz | gunzip -c |grep -A 7 -m 1 'Package: qbittorrent-nox' | awk -F ': ' '/Version/{print $2;exit}')
|
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
|
if [ -z "${EXT_RELEASE}" ] || [ "${EXT_RELEASE}" == "null" ]; then
|
||||||
echo "**** Can't retrieve external version, exiting ****"
|
echo "**** Can't retrieve external version, exiting ****"
|
||||||
FAILURE_REASON="Can't retrieve external version for qbittorrent branch master"
|
FAILURE_REASON="Can't retrieve external version for qbittorrent branch master"
|
||||||
@@ -28,7 +29,7 @@ jobs:
|
|||||||
"username": "Github Actions"}' ${{ secrets.DISCORD_WEBHOOK }}
|
"username": "Github Actions"}' ${{ secrets.DISCORD_WEBHOOK }}
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
EXT_RELEASE_CLEAN=$(echo ${EXT_RELEASE} | sed 's/[~,%@+;:/]//g')
|
EXT_RELEASE=$(echo ${EXT_RELEASE} | sed 's/[~,%@+;:/]//g')
|
||||||
echo "**** External version: ${EXT_RELEASE} ****"
|
echo "**** External version: ${EXT_RELEASE} ****"
|
||||||
echo "**** Retrieving last pushed version ****"
|
echo "**** Retrieving last pushed version ****"
|
||||||
image="linuxserver/qbittorrent"
|
image="linuxserver/qbittorrent"
|
||||||
@@ -61,20 +62,14 @@ jobs:
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo "**** Last pushed version: ${IMAGE_VERSION} ****"
|
echo "**** Last pushed version: ${IMAGE_VERSION} ****"
|
||||||
if [ "${EXT_RELEASE_CLEAN}" == "${IMAGE_VERSION}" ]; then
|
if [ "${EXT_RELEASE}" == "${IMAGE_VERSION}" ]; then
|
||||||
echo "**** Version ${EXT_RELEASE} already pushed, exiting ****"
|
echo "**** Version ${EXT_RELEASE} already pushed, exiting ****"
|
||||||
exit 0
|
exit 0
|
||||||
elif [ $(curl -s https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-qbittorrent/job/master/lastBuild/api/json | jq -r '.building') == "true" ]; then
|
elif [ $(curl -s https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-qbittorrent/job/master/lastBuild/api/json | jq -r '.building') == "true" ]; then
|
||||||
echo "**** New version ${EXT_RELEASE} found; but there already seems to be an active build on Jenkins; exiting ****"
|
echo "**** New version ${EXT_RELEASE} found; but there already seems to be an active build on Jenkins; exiting ****"
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
echo "**** New version ${EXT_RELEASE_CLEAN} found; old version was ${IMAGE_VERSION}. Checking artifacts. . . ****"
|
echo "**** New version ${EXT_RELEASE} found; old version was ${IMAGE_VERSION}. Triggering new build ****"
|
||||||
EXT_RELEASE_STRIPPED=$(echo ${EXT_RELEASE} | sed 's|^1:||')
|
|
||||||
URL_AMD64="https://launchpad.net/~qbittorrent-team/+archive/ubuntu/qbittorrent-stable/+files/qbittorrent-nox_${EXT_RELEASE_STRIPPED}_amd64.deb"
|
|
||||||
URL_ARMHF="https://launchpad.net/~qbittorrent-team/+archive/ubuntu/qbittorrent-stable/+files/qbittorrent-nox_${EXT_RELEASE_STRIPPED}_armhf.deb"
|
|
||||||
URL_ARM64="https://launchpad.net/~qbittorrent-team/+archive/ubuntu/qbittorrent-stable/+files/qbittorrent-nox_${EXT_RELEASE_STRIPPED}_arm64.deb"
|
|
||||||
if curl -fL "${URL_AMD64}" >/dev/null && curl -fL "${URL_ARMHF}" >/dev/null && curl -fL "${URL_ARM64}" >/dev/null; then
|
|
||||||
echo "**** All artifacts seem to be published, triggering build ****"
|
|
||||||
response=$(curl -iX POST \
|
response=$(curl -iX POST \
|
||||||
https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-qbittorrent/job/master/buildWithParameters?PACKAGE_CHECK=false \
|
https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-qbittorrent/job/master/buildWithParameters?PACKAGE_CHECK=false \
|
||||||
--user ${{ secrets.JENKINS_USER }}:${{ secrets.JENKINS_TOKEN }} | grep -i location | sed "s|^[L|l]ocation: \(.*\)|\1|")
|
--user ${{ secrets.JENKINS_USER }}:${{ secrets.JENKINS_TOKEN }} | grep -i location | sed "s|^[L|l]ocation: \(.*\)|\1|")
|
||||||
@@ -95,11 +90,4 @@ jobs:
|
|||||||
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 9802903,
|
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 9802903,
|
||||||
"description": "**Build Triggered** \n**Reason:** '"${TRIGGER_REASON}"' \n**Build URL:** '"${buildurl}display/redirect"' \n"}],
|
"description": "**Build Triggered** \n**Reason:** '"${TRIGGER_REASON}"' \n**Build URL:** '"${buildurl}display/redirect"' \n"}],
|
||||||
"username": "Github Actions"}' ${{ secrets.DISCORD_WEBHOOK }}
|
"username": "Github Actions"}' ${{ secrets.DISCORD_WEBHOOK }}
|
||||||
else
|
|
||||||
echo "**** Not all artifacts are published yet, skipping trigger ****"
|
|
||||||
FAILURE_REASON="New version ${EXT_RELEASE} for qbittorrent tag latest is detected, however not all artifacts are uploaded to launchpad yet. Will try again in 1 hr."
|
|
||||||
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 9802903,
|
|
||||||
"description": "**Trigger Failed** \n**Reason:** '"${FAILURE_REASON}"' \n"}],
|
|
||||||
"username": "Github Actions"}' ${{ secrets.DISCORD_WEBHOOK }}
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
77
Dockerfile
77
Dockerfile
@@ -1,53 +1,72 @@
|
|||||||
FROM ghcr.io/linuxserver/baseimage-ubuntu:focal
|
FROM ghcr.io/linuxserver/baseimage-alpine:edge
|
||||||
|
|
||||||
# set version label
|
# set version label
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
ARG VERSION
|
ARG VERSION
|
||||||
ARG QBITTORRENT_VERSION
|
ARG QBITTORRENT_VERSION
|
||||||
|
ARG QBT_VERSION
|
||||||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
||||||
LABEL maintainer="thelamer"
|
LABEL maintainer="thespad"
|
||||||
|
|
||||||
# environment settings
|
# environment settings
|
||||||
ARG DEBIAN_FRONTEND="noninteractive"
|
ARG QBT_VERSION=1.7
|
||||||
|
ARG UNRAR_VERSION=6.1.4
|
||||||
ENV HOME="/config" \
|
ENV HOME="/config" \
|
||||||
XDG_CONFIG_HOME="/config" \
|
XDG_CONFIG_HOME="/config" \
|
||||||
XDG_DATA_HOME="/config"
|
XDG_DATA_HOME="/config"
|
||||||
|
|
||||||
# add repo and install qbitorrent
|
# install runtime packages and qbitorrent-cli
|
||||||
RUN \
|
RUN \
|
||||||
echo "***** add qbitorrent repositories ****" && \
|
echo "**** install build packages ****" && \
|
||||||
apt-get update && \
|
apk add --no-cache --upgrade --virtual=build-dependencies \
|
||||||
apt-get install -y \
|
make \
|
||||||
gnupg \
|
g++ \
|
||||||
python3 && \
|
gcc && \
|
||||||
curl -s https://dl.cloudsmith.io/public/qbittorrent-cli/qbittorrent-cli/gpg.F8756541ADDA2B7D.key | apt-key add - && \
|
|
||||||
apt-key adv --keyserver hkp://keyserver.ubuntu.com:11371 --recv-keys 7CA69FC4 && \
|
|
||||||
echo "deb http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu focal main" >> /etc/apt/sources.list.d/qbitorrent.list && \
|
|
||||||
echo "deb-src http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu focal main" >> /etc/apt/sources.list.d/qbitorrent.list && \
|
|
||||||
echo "deb https://dl.cloudsmith.io/public/qbittorrent-cli/qbittorrent-cli/deb/ubuntu focal main" >> /etc/apt/sources.list.d/qbitorrent.list && \
|
|
||||||
echo "**** install packages ****" && \
|
echo "**** install packages ****" && \
|
||||||
|
apk add -U --update --no-cache \
|
||||||
|
bash \
|
||||||
|
curl \
|
||||||
|
icu-libs \
|
||||||
|
libstdc++ \
|
||||||
|
openssl \
|
||||||
|
p7zip \
|
||||||
|
python3 && \
|
||||||
|
echo "**** install unrar from source ****" && \
|
||||||
|
mkdir /tmp/unrar && \
|
||||||
|
curl -o \
|
||||||
|
/tmp/unrar.tar.gz -L \
|
||||||
|
"https://www.rarlab.com/rar/unrarsrc-${UNRAR_VERSION}.tar.gz" && \
|
||||||
|
tar xf \
|
||||||
|
/tmp/unrar.tar.gz -C \
|
||||||
|
/tmp/unrar --strip-components=1 && \
|
||||||
|
cd /tmp/unrar && \
|
||||||
|
make && \
|
||||||
|
install -v -m755 unrar /usr/bin && \
|
||||||
if [ -z ${QBITTORRENT_VERSION+x} ]; then \
|
if [ -z ${QBITTORRENT_VERSION+x} ]; then \
|
||||||
QBITTORRENT_VERSION=$(curl -sX GET http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu/dists/focal/main/binary-amd64/Packages.gz | gunzip -c \
|
QBITTORRENT_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
|
||||||
|grep -A 7 -m 1 "Package: qbittorrent-nox" | awk -F ": " '/Version/{print $2;exit}');\
|
&& awk '/^P:qbittorrent-nox$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
|
||||||
fi && \
|
fi && \
|
||||||
apt-get update && \
|
apk add -U --upgrade --no-cache \
|
||||||
apt-get install -y \
|
qbittorrent-nox==${QBITTORRENT_VERSION} && \
|
||||||
p7zip-full \
|
echo "***** install qbitorrent-cli ****" && \
|
||||||
qbittorrent-cli \
|
mkdir /qbt && \
|
||||||
qbittorrent-nox=${QBITTORRENT_VERSION} \
|
curl -L \
|
||||||
unrar \
|
-o /tmp/qbt.tar.gz \
|
||||||
geoip-bin \
|
"https://github.com/linuxserver/docker-qbittorrent/releases/download/qbt-${QBT_VERSION}/qbt.tar.gz" && \
|
||||||
unzip && \
|
tar xf \
|
||||||
|
/tmp/qbt.tar.gz -C \
|
||||||
|
/qbt && \
|
||||||
echo "**** cleanup ****" && \
|
echo "**** cleanup ****" && \
|
||||||
apt-get clean && \
|
apk del --purge \
|
||||||
|
build-dependencies && \
|
||||||
rm -rf \
|
rm -rf \
|
||||||
/tmp/* \
|
/root/.cache \
|
||||||
/var/lib/apt/lists/* \
|
/tmp/*
|
||||||
/var/tmp/*
|
|
||||||
|
|
||||||
# add local files
|
# add local files
|
||||||
COPY root/ /
|
COPY root/ /
|
||||||
|
|
||||||
# ports and volumes
|
# ports and volumes
|
||||||
EXPOSE 6881 6881/udp 8080
|
EXPOSE 8080 6881 6881/udp
|
||||||
|
|
||||||
VOLUME /config
|
VOLUME /config
|
||||||
|
|||||||
@@ -1,53 +1,72 @@
|
|||||||
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-focal
|
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-edge
|
||||||
|
|
||||||
# set version label
|
# set version label
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
ARG VERSION
|
ARG VERSION
|
||||||
ARG QBITTORRENT_VERSION
|
ARG QBITTORRENT_VERSION
|
||||||
|
ARG QBT_VERSION
|
||||||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
||||||
LABEL maintainer="thelamer"
|
LABEL maintainer="thespad"
|
||||||
|
|
||||||
# environment settings
|
# environment settings
|
||||||
ARG DEBIAN_FRONTEND="noninteractive"
|
ARG QBT_VERSION=1.7
|
||||||
|
ARG UNRAR_VERSION=6.1.4
|
||||||
ENV HOME="/config" \
|
ENV HOME="/config" \
|
||||||
XDG_CONFIG_HOME="/config" \
|
XDG_CONFIG_HOME="/config" \
|
||||||
XDG_DATA_HOME="/config"
|
XDG_DATA_HOME="/config"
|
||||||
|
|
||||||
# add repo and install qbitorrent
|
# install runtime packages and qbitorrent-cli
|
||||||
RUN \
|
RUN \
|
||||||
echo "***** add qbitorrent repositories ****" && \
|
echo "**** install build packages ****" && \
|
||||||
apt-get update && \
|
apk add --no-cache --upgrade --virtual=build-dependencies \
|
||||||
apt-get install -y \
|
make \
|
||||||
gnupg \
|
g++ \
|
||||||
python3 && \
|
gcc && \
|
||||||
curl -s https://dl.cloudsmith.io/public/qbittorrent-cli/qbittorrent-cli/gpg.F8756541ADDA2B7D.key | apt-key add - && \
|
|
||||||
apt-key adv --keyserver hkp://keyserver.ubuntu.com:11371 --recv-keys 7CA69FC4 && \
|
|
||||||
echo "deb http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu focal main" >> /etc/apt/sources.list.d/qbitorrent.list && \
|
|
||||||
echo "deb-src http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu focal main" >> /etc/apt/sources.list.d/qbitorrent.list && \
|
|
||||||
echo "deb https://dl.cloudsmith.io/public/qbittorrent-cli/qbittorrent-cli/deb/ubuntu focal main" >> /etc/apt/sources.list.d/qbitorrent.list && \
|
|
||||||
echo "**** install packages ****" && \
|
echo "**** install packages ****" && \
|
||||||
|
apk add -U --update --no-cache \
|
||||||
|
bash \
|
||||||
|
curl \
|
||||||
|
icu-libs \
|
||||||
|
libstdc++ \
|
||||||
|
openssl \
|
||||||
|
p7zip \
|
||||||
|
python3 && \
|
||||||
|
echo "**** install unrar from source ****" && \
|
||||||
|
mkdir /tmp/unrar && \
|
||||||
|
curl -o \
|
||||||
|
/tmp/unrar.tar.gz -L \
|
||||||
|
"https://www.rarlab.com/rar/unrarsrc-${UNRAR_VERSION}.tar.gz" && \
|
||||||
|
tar xf \
|
||||||
|
/tmp/unrar.tar.gz -C \
|
||||||
|
/tmp/unrar --strip-components=1 && \
|
||||||
|
cd /tmp/unrar && \
|
||||||
|
make && \
|
||||||
|
install -v -m755 unrar /usr/bin && \
|
||||||
if [ -z ${QBITTORRENT_VERSION+x} ]; then \
|
if [ -z ${QBITTORRENT_VERSION+x} ]; then \
|
||||||
QBITTORRENT_VERSION=$(curl -sX GET http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu/dists/focal/main/binary-amd64/Packages.gz | gunzip -c \
|
QBITTORRENT_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
|
||||||
|grep -A 7 -m 1 "Package: qbittorrent-nox" | awk -F ": " '/Version/{print $2;exit}');\
|
&& awk '/^P:qbittorrent-nox$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
|
||||||
fi && \
|
fi && \
|
||||||
apt-get update && \
|
apk add -U --upgrade --no-cache \
|
||||||
apt-get install -y \
|
qbittorrent-nox==${QBITTORRENT_VERSION} && \
|
||||||
p7zip-full \
|
echo "***** install qbitorrent-cli ****" && \
|
||||||
qbittorrent-cli \
|
mkdir /qbt && \
|
||||||
qbittorrent-nox=${QBITTORRENT_VERSION} \
|
curl -L \
|
||||||
unrar \
|
-o /tmp/qbt.tar.gz \
|
||||||
geoip-bin \
|
"https://github.com/linuxserver/docker-qbittorrent/releases/download/qbt-${QBT_VERSION}/qbt-arm64.tar.gz" && \
|
||||||
unzip && \
|
tar xf \
|
||||||
|
/tmp/qbt.tar.gz -C \
|
||||||
|
/qbt && \
|
||||||
echo "**** cleanup ****" && \
|
echo "**** cleanup ****" && \
|
||||||
apt-get clean && \
|
apk del --purge \
|
||||||
|
build-dependencies && \
|
||||||
rm -rf \
|
rm -rf \
|
||||||
/tmp/* \
|
/root/.cache \
|
||||||
/var/lib/apt/lists/* \
|
/tmp/*
|
||||||
/var/tmp/*
|
|
||||||
|
|
||||||
# add local files
|
# add local files
|
||||||
COPY root/ /
|
COPY root/ /
|
||||||
|
|
||||||
# ports and volumes
|
# ports and volumes
|
||||||
EXPOSE 6881 6881/udp 8080
|
EXPOSE 8080 6881 6881/udp
|
||||||
|
|
||||||
VOLUME /config
|
VOLUME /config
|
||||||
|
|||||||
@@ -1,53 +1,74 @@
|
|||||||
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm32v7-focal
|
FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-edge
|
||||||
|
|
||||||
# set version label
|
# set version label
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
ARG VERSION
|
ARG VERSION
|
||||||
ARG QBITTORRENT_VERSION
|
ARG QBITTORRENT_VERSION
|
||||||
|
ARG QBT_VERSION
|
||||||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
||||||
LABEL maintainer="thelamer"
|
LABEL maintainer="thespad"
|
||||||
|
|
||||||
# environment settings
|
# environment settings
|
||||||
ARG DEBIAN_FRONTEND="noninteractive"
|
ARG QBT_VERSION=1.7
|
||||||
|
ARG UNRAR_VERSION=6.1.4
|
||||||
ENV HOME="/config" \
|
ENV HOME="/config" \
|
||||||
XDG_CONFIG_HOME="/config" \
|
XDG_CONFIG_HOME="/config" \
|
||||||
XDG_DATA_HOME="/config"
|
XDG_DATA_HOME="/config"
|
||||||
|
|
||||||
# add repo and install qbitorrent
|
# install runtime packages and qbitorrent-cli
|
||||||
RUN \
|
RUN \
|
||||||
echo "***** add qbitorrent repositories ****" && \
|
echo "**** install build packages ****" && \
|
||||||
apt-get update && \
|
apk add --no-cache --upgrade --virtual=build-dependencies \
|
||||||
apt-get install -y \
|
make \
|
||||||
gnupg \
|
g++ \
|
||||||
python3 && \
|
gcc && \
|
||||||
curl -s https://dl.cloudsmith.io/public/qbittorrent-cli/qbittorrent-cli/gpg.F8756541ADDA2B7D.key | apt-key add - && \
|
|
||||||
apt-key adv --keyserver hkp://keyserver.ubuntu.com:11371 --recv-keys 7CA69FC4 && \
|
|
||||||
echo "deb http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu focal main" >> /etc/apt/sources.list.d/qbitorrent.list && \
|
|
||||||
echo "deb-src http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu focal main" >> /etc/apt/sources.list.d/qbitorrent.list && \
|
|
||||||
echo "deb https://dl.cloudsmith.io/public/qbittorrent-cli/qbittorrent-cli/deb/ubuntu focal main" >> /etc/apt/sources.list.d/qbitorrent.list && \
|
|
||||||
echo "**** install packages ****" && \
|
echo "**** install packages ****" && \
|
||||||
|
apk add -U --update --no-cache \
|
||||||
|
bash \
|
||||||
|
curl \
|
||||||
|
gcompat \
|
||||||
|
icu-libs \
|
||||||
|
libc6-compat \
|
||||||
|
libstdc++ \
|
||||||
|
openssl \
|
||||||
|
p7zip \
|
||||||
|
python3 && \
|
||||||
|
echo "**** install unrar from source ****" && \
|
||||||
|
mkdir /tmp/unrar && \
|
||||||
|
curl -o \
|
||||||
|
/tmp/unrar.tar.gz -L \
|
||||||
|
"https://www.rarlab.com/rar/unrarsrc-${UNRAR_VERSION}.tar.gz" && \
|
||||||
|
tar xf \
|
||||||
|
/tmp/unrar.tar.gz -C \
|
||||||
|
/tmp/unrar --strip-components=1 && \
|
||||||
|
cd /tmp/unrar && \
|
||||||
|
make && \
|
||||||
|
install -v -m755 unrar /usr/bin && \
|
||||||
if [ -z ${QBITTORRENT_VERSION+x} ]; then \
|
if [ -z ${QBITTORRENT_VERSION+x} ]; then \
|
||||||
QBITTORRENT_VERSION=$(curl -sX GET http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu/dists/focal/main/binary-amd64/Packages.gz | gunzip -c \
|
QBITTORRENT_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
|
||||||
|grep -A 7 -m 1 "Package: qbittorrent-nox" | awk -F ": " '/Version/{print $2;exit}');\
|
&& awk '/^P:qbittorrent-nox$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
|
||||||
fi && \
|
fi && \
|
||||||
apt-get update && \
|
apk add -U --upgrade --no-cache \
|
||||||
apt-get install -y \
|
qbittorrent-nox==${QBITTORRENT_VERSION} && \
|
||||||
p7zip-full \
|
echo "***** install qbitorrent-cli ****" && \
|
||||||
qbittorrent-cli \
|
mkdir /qbt && \
|
||||||
qbittorrent-nox=${QBITTORRENT_VERSION} \
|
curl -L \
|
||||||
unrar \
|
-o /tmp/qbt.tar.gz \
|
||||||
geoip-bin \
|
"https://github.com/linuxserver/docker-qbittorrent/releases/download/qbt-${QBT_VERSION}/qbt-arm.tar.gz" && \
|
||||||
unzip && \
|
tar xf \
|
||||||
|
/tmp/qbt.tar.gz -C \
|
||||||
|
/qbt && \
|
||||||
echo "**** cleanup ****" && \
|
echo "**** cleanup ****" && \
|
||||||
apt-get clean && \
|
apk del --purge \
|
||||||
|
build-dependencies && \
|
||||||
rm -rf \
|
rm -rf \
|
||||||
/tmp/* \
|
/root/.cache \
|
||||||
/var/lib/apt/lists/* \
|
/tmp/*
|
||||||
/var/tmp/*
|
|
||||||
|
|
||||||
# add local files
|
# add local files
|
||||||
COPY root/ /
|
COPY root/ /
|
||||||
|
|
||||||
# ports and volumes
|
# ports and volumes
|
||||||
EXPOSE 6881 6881/udp 8080
|
EXPOSE 8080 6881 6881/udp
|
||||||
|
|
||||||
VOLUME /config
|
VOLUME /config
|
||||||
|
|||||||
78
Jenkinsfile
vendored
78
Jenkinsfile
vendored
@@ -24,7 +24,10 @@ pipeline {
|
|||||||
DOCKERHUB_IMAGE = 'linuxserver/qbittorrent'
|
DOCKERHUB_IMAGE = 'linuxserver/qbittorrent'
|
||||||
DEV_DOCKERHUB_IMAGE = 'lsiodev/qbittorrent'
|
DEV_DOCKERHUB_IMAGE = 'lsiodev/qbittorrent'
|
||||||
PR_DOCKERHUB_IMAGE = 'lspipepr/qbittorrent'
|
PR_DOCKERHUB_IMAGE = 'lspipepr/qbittorrent'
|
||||||
DIST_IMAGE = 'ubuntu'
|
DIST_IMAGE = 'alpine'
|
||||||
|
DIST_TAG = 'edge'
|
||||||
|
DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/edge/community/'
|
||||||
|
DIST_REPO_PACKAGES = 'qbittorrent-nox'
|
||||||
MULTIARCH='true'
|
MULTIARCH='true'
|
||||||
CI='true'
|
CI='true'
|
||||||
CI_WEB='true'
|
CI_WEB='true'
|
||||||
@@ -56,7 +59,7 @@ pipeline {
|
|||||||
env.CODE_URL = 'https://github.com/' + env.LS_USER + '/' + env.LS_REPO + '/commit/' + env.GIT_COMMIT
|
env.CODE_URL = 'https://github.com/' + env.LS_USER + '/' + env.LS_REPO + '/commit/' + env.GIT_COMMIT
|
||||||
env.DOCKERHUB_LINK = 'https://hub.docker.com/r/' + env.DOCKERHUB_IMAGE + '/tags/'
|
env.DOCKERHUB_LINK = 'https://hub.docker.com/r/' + env.DOCKERHUB_IMAGE + '/tags/'
|
||||||
env.PULL_REQUEST = env.CHANGE_ID
|
env.PULL_REQUEST = env.CHANGE_ID
|
||||||
env.TEMPLATED_FILES = 'Jenkinsfile README.md LICENSE .editorconfig ./.github/CONTRIBUTING.md ./.github/FUNDING.yml ./.github/ISSUE_TEMPLATE/config.yml ./.github/ISSUE_TEMPLATE/issue.bug.md ./.github/ISSUE_TEMPLATE/issue.feature.md ./.github/PULL_REQUEST_TEMPLATE.md ./.github/workflows/external_trigger_scheduler.yml ./.github/workflows/greetings.yml ./.github/workflows/package_trigger_scheduler.yml ./.github/workflows/stale.yml ./.github/workflows/package_trigger.yml'
|
env.TEMPLATED_FILES = 'Jenkinsfile README.md LICENSE .editorconfig ./.github/CONTRIBUTING.md ./.github/FUNDING.yml ./.github/ISSUE_TEMPLATE/config.yml ./.github/ISSUE_TEMPLATE/issue.bug.md ./.github/ISSUE_TEMPLATE/issue.feature.md ./.github/PULL_REQUEST_TEMPLATE.md ./.github/workflows/external_trigger_scheduler.yml ./.github/workflows/greetings.yml ./.github/workflows/package_trigger_scheduler.yml ./.github/workflows/stale.yml ./.github/workflows/external_trigger.yml ./.github/workflows/package_trigger.yml'
|
||||||
}
|
}
|
||||||
script{
|
script{
|
||||||
env.LS_RELEASE_NUMBER = sh(
|
env.LS_RELEASE_NUMBER = sh(
|
||||||
@@ -99,14 +102,15 @@ pipeline {
|
|||||||
/* ########################
|
/* ########################
|
||||||
External Release Tagging
|
External Release Tagging
|
||||||
######################## */
|
######################## */
|
||||||
// If this is a custom command to determine version use that command
|
// If this is an alpine repo change for external version determine an md5 from the version string
|
||||||
stage("Set tag custom bash"){
|
stage("Set tag Alpine Repo"){
|
||||||
steps{
|
steps{
|
||||||
script{
|
script{
|
||||||
env.EXT_RELEASE = sh(
|
env.EXT_RELEASE = sh(
|
||||||
script: ''' curl -sX GET http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu/dists/focal/main/binary-amd64/Packages.gz | gunzip -c |grep -A 7 -m 1 'Package: qbittorrent-nox' | awk -F ': ' '/Version/{print $2;exit}' ''',
|
script: '''curl -sL "${DIST_REPO}x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
|
||||||
|
&& awk '/^P:'"${DIST_REPO_PACKAGES}"'$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://' ''',
|
||||||
returnStdout: true).trim()
|
returnStdout: true).trim()
|
||||||
env.RELEASE_LINK = 'custom_command'
|
env.RELEASE_LINK = 'alpine_repo'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -118,12 +122,11 @@ pipeline {
|
|||||||
script: '''echo ${EXT_RELEASE} | sed 's/[~,%@+;:/]//g' ''',
|
script: '''echo ${EXT_RELEASE} | sed 's/[~,%@+;:/]//g' ''',
|
||||||
returnStdout: true).trim()
|
returnStdout: true).trim()
|
||||||
|
|
||||||
env.SEMVER = (new Date()).format('YYYY.MM.dd')
|
def semver = env.EXT_RELEASE_CLEAN =~ /(\d+)\.(\d+)\.(\d+)/
|
||||||
def semver = env.EXT_RELEASE_CLEAN =~ /(\d+)\.(\d+)\.(\d+)$/
|
|
||||||
if (semver.find()) {
|
if (semver.find()) {
|
||||||
env.SEMVER = "${semver[0][1]}.${semver[0][2]}.${semver[0][3]}"
|
env.SEMVER = "${semver[0][1]}.${semver[0][2]}.${semver[0][3]}"
|
||||||
} else {
|
} else {
|
||||||
semver = env.EXT_RELEASE_CLEAN =~ /(\d+)\.(\d+)(?:\.(\d+))?(.*)$/
|
semver = env.EXT_RELEASE_CLEAN =~ /(\d+)\.(\d+)(?:\.(\d+))?(.*)/
|
||||||
if (semver.find()) {
|
if (semver.find()) {
|
||||||
if (semver[0][3]) {
|
if (semver[0][3]) {
|
||||||
env.SEMVER = "${semver[0][1]}.${semver[0][2]}.${semver[0][3]}"
|
env.SEMVER = "${semver[0][1]}.${semver[0][2]}.${semver[0][3]}"
|
||||||
@@ -133,7 +136,15 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (env.SEMVER != null) {
|
||||||
|
if (BRANCH_NAME != "master" && BRANCH_NAME != "main") {
|
||||||
|
env.SEMVER = "${env.SEMVER}-${BRANCH_NAME}"
|
||||||
|
}
|
||||||
println("SEMVER: ${env.SEMVER}")
|
println("SEMVER: ${env.SEMVER}")
|
||||||
|
} else {
|
||||||
|
println("No SEMVER detected")
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -402,10 +413,10 @@ pipeline {
|
|||||||
steps{
|
steps{
|
||||||
sh '''#! /bin/bash
|
sh '''#! /bin/bash
|
||||||
set -e
|
set -e
|
||||||
PACKAGE_UUID=$(curl -X GET -H "Authorization: Bearer ${SCARF_TOKEN}" https://scarf.sh/api/v1/packages | jq -r '.[] | select(.name=="linuxserver/qbittorrent") | .uuid')
|
PACKAGE_UUID=$(curl -X GET -H "Authorization: Bearer ${SCARF_TOKEN}" https://scarf.sh/api/v1/organizations/linuxserver-ci/packages | jq -r '.[] | select(.name=="linuxserver/qbittorrent") | .uuid')
|
||||||
if [ -z "${PACKAGE_UUID}" ]; then
|
if [ -z "${PACKAGE_UUID}" ]; then
|
||||||
echo "Adding package to Scarf.sh"
|
echo "Adding package to Scarf.sh"
|
||||||
PACKAGE_UUID=$(curl -sX POST https://scarf.sh/api/v1/packages \
|
curl -sX POST https://scarf.sh/api/v1/organizations/linuxserver-ci/packages \
|
||||||
-H "Authorization: Bearer ${SCARF_TOKEN}" \
|
-H "Authorization: Bearer ${SCARF_TOKEN}" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{"name":"linuxserver/qbittorrent",\
|
-d '{"name":"linuxserver/qbittorrent",\
|
||||||
@@ -413,22 +424,10 @@ pipeline {
|
|||||||
"libraryType":"docker",\
|
"libraryType":"docker",\
|
||||||
"website":"https://github.com/linuxserver/docker-qbittorrent",\
|
"website":"https://github.com/linuxserver/docker-qbittorrent",\
|
||||||
"backendUrl":"https://ghcr.io/linuxserver/qbittorrent",\
|
"backendUrl":"https://ghcr.io/linuxserver/qbittorrent",\
|
||||||
"publicUrl":"https://lscr.io/linuxserver/qbittorrent"}' \
|
"publicUrl":"https://lscr.io/linuxserver/qbittorrent"}' || :
|
||||||
| jq -r .uuid)
|
|
||||||
else
|
else
|
||||||
echo "Package already exists on Scarf.sh"
|
echo "Package already exists on Scarf.sh"
|
||||||
fi
|
fi
|
||||||
echo "Setting permissions on Scarf.sh for package ${PACKAGE_UUID}"
|
|
||||||
curl -X POST https://scarf.sh/api/v1/packages/${PACKAGE_UUID}/permissions \
|
|
||||||
-H "Authorization: Bearer ${SCARF_TOKEN}" \
|
|
||||||
-H "Content-Type: application/json" \
|
|
||||||
-d '[{"userQuery":"Spad","permissionLevel":"admin"},\
|
|
||||||
{"userQuery":"roxedus","permissionLevel":"admin"},\
|
|
||||||
{"userQuery":"nemchik","permissionLevel":"admin"},\
|
|
||||||
{"userQuery":"driz","permissionLevel":"admin"},\
|
|
||||||
{"userQuery":"aptalca","permissionLevel":"admin"},\
|
|
||||||
{"userQuery":"saarg","permissionLevel":"admin"},\
|
|
||||||
{"userQuery":"Stark","permissionLevel":"admin"}]'
|
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -752,11 +751,15 @@ pipeline {
|
|||||||
docker tag ${IMAGE}:${META_TAG} ${PUSHIMAGE}:${META_TAG}
|
docker tag ${IMAGE}:${META_TAG} ${PUSHIMAGE}:${META_TAG}
|
||||||
docker tag ${PUSHIMAGE}:${META_TAG} ${PUSHIMAGE}:latest
|
docker tag ${PUSHIMAGE}:${META_TAG} ${PUSHIMAGE}:latest
|
||||||
docker tag ${PUSHIMAGE}:${META_TAG} ${PUSHIMAGE}:${EXT_RELEASE_TAG}
|
docker tag ${PUSHIMAGE}:${META_TAG} ${PUSHIMAGE}:${EXT_RELEASE_TAG}
|
||||||
|
if [ -n "${SEMVER}" ]; then
|
||||||
docker tag ${PUSHIMAGE}:${META_TAG} ${PUSHIMAGE}:${SEMVER}
|
docker tag ${PUSHIMAGE}:${META_TAG} ${PUSHIMAGE}:${SEMVER}
|
||||||
|
fi
|
||||||
docker push ${PUSHIMAGE}:latest
|
docker push ${PUSHIMAGE}:latest
|
||||||
docker push ${PUSHIMAGE}:${META_TAG}
|
docker push ${PUSHIMAGE}:${META_TAG}
|
||||||
docker push ${PUSHIMAGE}:${EXT_RELEASE_TAG}
|
docker push ${PUSHIMAGE}:${EXT_RELEASE_TAG}
|
||||||
|
if [ -n "${SEMVER}" ]; then
|
||||||
docker push ${PUSHIMAGE}:${SEMVER}
|
docker push ${PUSHIMAGE}:${SEMVER}
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
@@ -765,8 +768,10 @@ pipeline {
|
|||||||
docker rmi \
|
docker rmi \
|
||||||
${DELETEIMAGE}:${META_TAG} \
|
${DELETEIMAGE}:${META_TAG} \
|
||||||
${DELETEIMAGE}:${EXT_RELEASE_TAG} \
|
${DELETEIMAGE}:${EXT_RELEASE_TAG} \
|
||||||
${DELETEIMAGE}:latest \
|
${DELETEIMAGE}:latest || :
|
||||||
${DELETEIMAGE}:${SEMVER} || :
|
if [ -n "${SEMVER}" ]; then
|
||||||
|
docker rmi ${DELETEIMAGE}:${SEMVER} || :
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
@@ -816,9 +821,11 @@ pipeline {
|
|||||||
docker tag ${MANIFESTIMAGE}:amd64-${META_TAG} ${MANIFESTIMAGE}:amd64-${EXT_RELEASE_TAG}
|
docker tag ${MANIFESTIMAGE}:amd64-${META_TAG} ${MANIFESTIMAGE}:amd64-${EXT_RELEASE_TAG}
|
||||||
docker tag ${MANIFESTIMAGE}:arm32v7-${META_TAG} ${MANIFESTIMAGE}:arm32v7-${EXT_RELEASE_TAG}
|
docker tag ${MANIFESTIMAGE}:arm32v7-${META_TAG} ${MANIFESTIMAGE}:arm32v7-${EXT_RELEASE_TAG}
|
||||||
docker tag ${MANIFESTIMAGE}:arm64v8-${META_TAG} ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG}
|
docker tag ${MANIFESTIMAGE}:arm64v8-${META_TAG} ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG}
|
||||||
|
if [ -n "${SEMVER}" ]; then
|
||||||
docker tag ${MANIFESTIMAGE}:amd64-${META_TAG} ${MANIFESTIMAGE}:amd64-${SEMVER}
|
docker tag ${MANIFESTIMAGE}:amd64-${META_TAG} ${MANIFESTIMAGE}:amd64-${SEMVER}
|
||||||
docker tag ${MANIFESTIMAGE}:arm32v7-${META_TAG} ${MANIFESTIMAGE}:arm32v7-${SEMVER}
|
docker tag ${MANIFESTIMAGE}:arm32v7-${META_TAG} ${MANIFESTIMAGE}:arm32v7-${SEMVER}
|
||||||
docker tag ${MANIFESTIMAGE}:arm64v8-${META_TAG} ${MANIFESTIMAGE}:arm64v8-${SEMVER}
|
docker tag ${MANIFESTIMAGE}:arm64v8-${META_TAG} ${MANIFESTIMAGE}:arm64v8-${SEMVER}
|
||||||
|
fi
|
||||||
docker push ${MANIFESTIMAGE}:amd64-${META_TAG}
|
docker push ${MANIFESTIMAGE}:amd64-${META_TAG}
|
||||||
docker push ${MANIFESTIMAGE}:arm32v7-${META_TAG}
|
docker push ${MANIFESTIMAGE}:arm32v7-${META_TAG}
|
||||||
docker push ${MANIFESTIMAGE}:arm64v8-${META_TAG}
|
docker push ${MANIFESTIMAGE}:arm64v8-${META_TAG}
|
||||||
@@ -828,9 +835,11 @@ pipeline {
|
|||||||
docker push ${MANIFESTIMAGE}:amd64-${EXT_RELEASE_TAG}
|
docker push ${MANIFESTIMAGE}:amd64-${EXT_RELEASE_TAG}
|
||||||
docker push ${MANIFESTIMAGE}:arm32v7-${EXT_RELEASE_TAG}
|
docker push ${MANIFESTIMAGE}:arm32v7-${EXT_RELEASE_TAG}
|
||||||
docker push ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG}
|
docker push ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG}
|
||||||
|
if [ -n "${SEMVER}" ]; then
|
||||||
docker push ${MANIFESTIMAGE}:amd64-${SEMVER}
|
docker push ${MANIFESTIMAGE}:amd64-${SEMVER}
|
||||||
docker push ${MANIFESTIMAGE}:arm32v7-${SEMVER}
|
docker push ${MANIFESTIMAGE}:arm32v7-${SEMVER}
|
||||||
docker push ${MANIFESTIMAGE}:arm64v8-${SEMVER}
|
docker push ${MANIFESTIMAGE}:arm64v8-${SEMVER}
|
||||||
|
fi
|
||||||
docker manifest push --purge ${MANIFESTIMAGE}:latest || :
|
docker manifest push --purge ${MANIFESTIMAGE}:latest || :
|
||||||
docker manifest create ${MANIFESTIMAGE}:latest ${MANIFESTIMAGE}:amd64-latest ${MANIFESTIMAGE}:arm32v7-latest ${MANIFESTIMAGE}:arm64v8-latest
|
docker manifest create ${MANIFESTIMAGE}:latest ${MANIFESTIMAGE}:amd64-latest ${MANIFESTIMAGE}:arm32v7-latest ${MANIFESTIMAGE}:arm64v8-latest
|
||||||
docker manifest annotate ${MANIFESTIMAGE}:latest ${MANIFESTIMAGE}:arm32v7-latest --os linux --arch arm
|
docker manifest annotate ${MANIFESTIMAGE}:latest ${MANIFESTIMAGE}:arm32v7-latest --os linux --arch arm
|
||||||
@@ -843,14 +852,18 @@ pipeline {
|
|||||||
docker manifest create ${MANIFESTIMAGE}:${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:amd64-${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:arm32v7-${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG}
|
docker manifest create ${MANIFESTIMAGE}:${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:amd64-${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:arm32v7-${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG}
|
||||||
docker manifest annotate ${MANIFESTIMAGE}:${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:arm32v7-${EXT_RELEASE_TAG} --os linux --arch arm
|
docker manifest annotate ${MANIFESTIMAGE}:${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:arm32v7-${EXT_RELEASE_TAG} --os linux --arch arm
|
||||||
docker manifest annotate ${MANIFESTIMAGE}:${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG} --os linux --arch arm64 --variant v8
|
docker manifest annotate ${MANIFESTIMAGE}:${EXT_RELEASE_TAG} ${MANIFESTIMAGE}:arm64v8-${EXT_RELEASE_TAG} --os linux --arch arm64 --variant v8
|
||||||
|
if [ -n "${SEMVER}" ]; then
|
||||||
docker manifest push --purge ${MANIFESTIMAGE}:${SEMVER} || :
|
docker manifest push --purge ${MANIFESTIMAGE}:${SEMVER} || :
|
||||||
docker manifest create ${MANIFESTIMAGE}:${SEMVER} ${MANIFESTIMAGE}:amd64-${SEMVER} ${MANIFESTIMAGE}:arm32v7-${SEMVER} ${MANIFESTIMAGE}:arm64v8-${SEMVER}
|
docker manifest create ${MANIFESTIMAGE}:${SEMVER} ${MANIFESTIMAGE}:amd64-${SEMVER} ${MANIFESTIMAGE}:arm32v7-${SEMVER} ${MANIFESTIMAGE}:arm64v8-${SEMVER}
|
||||||
docker manifest annotate ${MANIFESTIMAGE}:${SEMVER} ${MANIFESTIMAGE}:arm32v7-${SEMVER} --os linux --arch arm
|
docker manifest annotate ${MANIFESTIMAGE}:${SEMVER} ${MANIFESTIMAGE}:arm32v7-${SEMVER} --os linux --arch arm
|
||||||
docker manifest annotate ${MANIFESTIMAGE}:${SEMVER} ${MANIFESTIMAGE}:arm64v8-${SEMVER} --os linux --arch arm64 --variant v8
|
docker manifest annotate ${MANIFESTIMAGE}:${SEMVER} ${MANIFESTIMAGE}:arm64v8-${SEMVER} --os linux --arch arm64 --variant v8
|
||||||
|
fi
|
||||||
docker manifest push --purge ${MANIFESTIMAGE}:latest
|
docker manifest push --purge ${MANIFESTIMAGE}:latest
|
||||||
docker manifest push --purge ${MANIFESTIMAGE}:${META_TAG}
|
docker manifest push --purge ${MANIFESTIMAGE}:${META_TAG}
|
||||||
docker manifest push --purge ${MANIFESTIMAGE}:${EXT_RELEASE_TAG}
|
docker manifest push --purge ${MANIFESTIMAGE}:${EXT_RELEASE_TAG}
|
||||||
|
if [ -n "${SEMVER}" ]; then
|
||||||
docker manifest push --purge ${MANIFESTIMAGE}:${SEMVER}
|
docker manifest push --purge ${MANIFESTIMAGE}:${SEMVER}
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
@@ -860,15 +873,18 @@ pipeline {
|
|||||||
${DELETEIMAGE}:amd64-${META_TAG} \
|
${DELETEIMAGE}:amd64-${META_TAG} \
|
||||||
${DELETEIMAGE}:amd64-latest \
|
${DELETEIMAGE}:amd64-latest \
|
||||||
${DELETEIMAGE}:amd64-${EXT_RELEASE_TAG} \
|
${DELETEIMAGE}:amd64-${EXT_RELEASE_TAG} \
|
||||||
${DELETEIMAGE}:amd64-${SEMVER} \
|
|
||||||
${DELETEIMAGE}:arm32v7-${META_TAG} \
|
${DELETEIMAGE}:arm32v7-${META_TAG} \
|
||||||
${DELETEIMAGE}:arm32v7-latest \
|
${DELETEIMAGE}:arm32v7-latest \
|
||||||
${DELETEIMAGE}:arm32v7-${EXT_RELEASE_TAG} \
|
${DELETEIMAGE}:arm32v7-${EXT_RELEASE_TAG} \
|
||||||
${DELETEIMAGE}:arm32v7-${SEMVER} \
|
|
||||||
${DELETEIMAGE}:arm64v8-${META_TAG} \
|
${DELETEIMAGE}:arm64v8-${META_TAG} \
|
||||||
${DELETEIMAGE}:arm64v8-latest \
|
${DELETEIMAGE}:arm64v8-latest \
|
||||||
${DELETEIMAGE}:arm64v8-${EXT_RELEASE_TAG} \
|
${DELETEIMAGE}:arm64v8-${EXT_RELEASE_TAG} || :
|
||||||
|
if [ -n "${SEMVER}" ]; then
|
||||||
|
docker rmi \
|
||||||
|
${DELETEIMAGE}:amd64-${SEMVER} \
|
||||||
|
${DELETEIMAGE}:arm32v7-${SEMVER} \
|
||||||
${DELETEIMAGE}:arm64v8-${SEMVER} || :
|
${DELETEIMAGE}:arm64v8-${SEMVER} || :
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
docker rmi \
|
docker rmi \
|
||||||
ghcr.io/linuxserver/lsiodev-buildcache:arm32v7-${COMMIT_SHA}-${BUILD_NUMBER} \
|
ghcr.io/linuxserver/lsiodev-buildcache:arm32v7-${COMMIT_SHA}-${BUILD_NUMBER} \
|
||||||
@@ -897,11 +913,11 @@ pipeline {
|
|||||||
"tagger": {"name": "LinuxServer Jenkins","email": "jenkins@linuxserver.io","date": "'${GITHUB_DATE}'"}}' '''
|
"tagger": {"name": "LinuxServer Jenkins","email": "jenkins@linuxserver.io","date": "'${GITHUB_DATE}'"}}' '''
|
||||||
echo "Pushing New release for Tag"
|
echo "Pushing New release for Tag"
|
||||||
sh '''#! /bin/bash
|
sh '''#! /bin/bash
|
||||||
echo "Updating to ${EXT_RELEASE_CLEAN}" > releasebody.json
|
echo "Updating external repo packages to ${EXT_RELEASE_CLEAN}" > releasebody.json
|
||||||
echo '{"tag_name":"'${META_TAG}'",\
|
echo '{"tag_name":"'${META_TAG}'",\
|
||||||
"target_commitish": "master",\
|
"target_commitish": "master",\
|
||||||
"name": "'${META_TAG}'",\
|
"name": "'${META_TAG}'",\
|
||||||
"body": "**LinuxServer Changes:**\\n\\n'${LS_RELEASE_NOTES}'\\n\\n**Remote Changes:**\\n\\n' > start
|
"body": "**LinuxServer Changes:**\\n\\n'${LS_RELEASE_NOTES}'\\n\\n**Repo Changes:**\\n\\n' > start
|
||||||
printf '","draft": false,"prerelease": false}' >> releasebody.json
|
printf '","draft": false,"prerelease": false}' >> releasebody.json
|
||||||
paste -d'\\0' start releasebody.json > releasebody.json.done
|
paste -d'\\0' start releasebody.json > releasebody.json.done
|
||||||
curl -H "Authorization: token ${GITHUB_TOKEN}" -X POST https://api.github.com/repos/${LS_USER}/${LS_REPO}/releases -d @releasebody.json.done'''
|
curl -H "Authorization: token ${GITHUB_TOKEN}" -X POST https://api.github.com/repos/${LS_USER}/${LS_REPO}/releases -d @releasebody.json.done'''
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ Find us at:
|
|||||||
|
|
||||||
# [linuxserver/qbittorrent](https://github.com/linuxserver/docker-qbittorrent)
|
# [linuxserver/qbittorrent](https://github.com/linuxserver/docker-qbittorrent)
|
||||||
|
|
||||||
|
[](https://scarf.sh/gateway/linuxserver-ci/docker/linuxserver%2Fqbittorrent)
|
||||||
[](https://github.com/linuxserver/docker-qbittorrent)
|
[](https://github.com/linuxserver/docker-qbittorrent)
|
||||||
[](https://github.com/linuxserver/docker-qbittorrent/releases)
|
[](https://github.com/linuxserver/docker-qbittorrent/releases)
|
||||||
[](https://github.com/linuxserver/docker-qbittorrent/packages)
|
[](https://github.com/linuxserver/docker-qbittorrent/packages)
|
||||||
@@ -64,7 +65,6 @@ This image provides various versions that are available via tags. `latest` tag u
|
|||||||
| Tag | Description |
|
| Tag | Description |
|
||||||
| :----: | --- |
|
| :----: | --- |
|
||||||
| latest | Stable qbittorrent releases |
|
| latest | Stable qbittorrent releases |
|
||||||
| unstable | Unstable qbittorrent releases |
|
|
||||||
|
|
||||||
## Application Setup
|
## Application Setup
|
||||||
|
|
||||||
@@ -264,6 +264,12 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
|||||||
|
|
||||||
## Versions
|
## Versions
|
||||||
|
|
||||||
|
* **02.03.22:** - Add unrar, 7zip, and qbitorrent-cli.
|
||||||
|
* **01.03.22:** - Add python for search plugin support.
|
||||||
|
* **23.02.22:** - Rebase to Alpine Edge, install from Alpine repos.
|
||||||
|
* **19.02.22:** - Add jq to build-stage
|
||||||
|
* **07.01.22:** - Rebase to Alpine, build from source.
|
||||||
|
* **06.01.22:** - Deprecate unstable branch.
|
||||||
* **10.02.21:** - Rebase to focal.
|
* **10.02.21:** - Rebase to focal.
|
||||||
* **20.01.21:** - Deprecate `UMASK_SET` in favor of UMASK in baseimage, see above for more information.
|
* **20.01.21:** - Deprecate `UMASK_SET` in favor of UMASK in baseimage, see above for more information.
|
||||||
* **12.11.20:** - Stop creating /config/data directory on startup
|
* **12.11.20:** - Stop creating /config/data directory on startup
|
||||||
|
|||||||
@@ -2,12 +2,10 @@
|
|||||||
|
|
||||||
# jenkins variables
|
# jenkins variables
|
||||||
project_name: docker-qbittorrent
|
project_name: docker-qbittorrent
|
||||||
external_type: na
|
external_type: alpine_repo
|
||||||
custom_version_command: "curl -sX GET http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu/dists/focal/main/binary-amd64/Packages.gz | gunzip -c |grep -A 7 -m 1 'Package: qbittorrent-nox' | awk -F ': ' '/Version/{print $2;exit}'"
|
|
||||||
release_type: stable
|
release_type: stable
|
||||||
release_tag: latest
|
release_tag: latest
|
||||||
ls_branch: master
|
ls_branch: master
|
||||||
custom_external_trigger: true
|
|
||||||
repo_vars:
|
repo_vars:
|
||||||
- CONTAINER_NAME = 'qbittorrent'
|
- CONTAINER_NAME = 'qbittorrent'
|
||||||
- BUILD_VERSION_ARG = 'QBITTORRENT_VERSION'
|
- BUILD_VERSION_ARG = 'QBITTORRENT_VERSION'
|
||||||
@@ -16,7 +14,10 @@ repo_vars:
|
|||||||
- DOCKERHUB_IMAGE = 'linuxserver/qbittorrent'
|
- DOCKERHUB_IMAGE = 'linuxserver/qbittorrent'
|
||||||
- DEV_DOCKERHUB_IMAGE = 'lsiodev/qbittorrent'
|
- DEV_DOCKERHUB_IMAGE = 'lsiodev/qbittorrent'
|
||||||
- PR_DOCKERHUB_IMAGE = 'lspipepr/qbittorrent'
|
- PR_DOCKERHUB_IMAGE = 'lspipepr/qbittorrent'
|
||||||
- DIST_IMAGE = 'ubuntu'
|
- DIST_IMAGE = 'alpine'
|
||||||
|
- DIST_TAG = 'edge'
|
||||||
|
- DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/edge/community/'
|
||||||
|
- DIST_REPO_PACKAGES = 'qbittorrent-nox'
|
||||||
- MULTIARCH='true'
|
- MULTIARCH='true'
|
||||||
- CI='true'
|
- CI='true'
|
||||||
- CI_WEB='true'
|
- CI_WEB='true'
|
||||||
|
|||||||
@@ -1,191 +1,74 @@
|
|||||||
adduser3.118ubuntu2
|
alpine-baselayout-3.2.0-r19
|
||||||
apt2.0.6
|
alpine-keys-2.4-r1
|
||||||
apt-utils2.0.6
|
apk-tools-2.12.9-r1
|
||||||
base-files11ubuntu5.4
|
bash-5.1.16-r0
|
||||||
base-passwd3.5.47
|
brotli-libs-1.0.9-r6
|
||||||
bash5.0-6ubuntu1.1
|
busybox-1.35.0-r5
|
||||||
bsdutils1:2.34-0.1ubuntu9.1
|
ca-certificates-20211220-r0
|
||||||
bzip21.0.8-2
|
ca-certificates-bundle-20211220-r0
|
||||||
ca-certificates20210119~20.04.2
|
coreutils-9.0-r3
|
||||||
coreutils8.30-3ubuntu2
|
curl-7.81.0-r1
|
||||||
curl7.68.0-1ubuntu2.7
|
dbus-libs-1.12.22-r0
|
||||||
dash0.5.10.2-6
|
expat-2.4.6-r0
|
||||||
dbus1.12.16-2ubuntu2.1
|
gdbm-1.23-r0
|
||||||
debconf1.5.73
|
glib-2.70.4-r0
|
||||||
debianutils4.9.1
|
icu-libs-70.1-r0
|
||||||
diffutils1:3.7-3
|
libacl-2.2.53-r0
|
||||||
dirmngr2.2.19-3ubuntu2.1
|
libattr-2.5.1-r1
|
||||||
dpkg1.19.7ubuntu3
|
libblkid-2.37.4-r1
|
||||||
e2fsprogs1.45.5-2ubuntu1
|
libbsd-0.11.5-r0
|
||||||
fdisk2.34-0.1ubuntu9.1
|
libbz2-1.0.8-r1
|
||||||
file1:5.38-4
|
libc-utils-0.7.2-r3
|
||||||
findutils4.7.0-1ubuntu1
|
libcrypto1.1-1.1.1m-r2
|
||||||
gcc-10-base10.3.0-1ubuntu1~20.04
|
libcurl-7.81.0-r1
|
||||||
geoip-bin1.6.12-6build1
|
libexecinfo-1.1-r1
|
||||||
geoip-database20191224-2
|
libffi-3.4.2-r1
|
||||||
gnupg2.2.19-3ubuntu2.1
|
libgcc-11.2.1_git20220219-r1
|
||||||
gnupg-l10n2.2.19-3ubuntu2.1
|
libice-1.0.10-r0
|
||||||
gnupg-utils2.2.19-3ubuntu2.1
|
libintl-0.21-r1
|
||||||
gpg2.2.19-3ubuntu2.1
|
libmd-1.0.3-r0
|
||||||
gpg-agent2.2.19-3ubuntu2.1
|
libmount-2.37.4-r1
|
||||||
gpgconf2.2.19-3ubuntu2.1
|
libpcre2-16-10.39-r0
|
||||||
gpgsm2.2.19-3ubuntu2.1
|
libproc-3.3.17-r1
|
||||||
gpgv2.2.19-3ubuntu2.1
|
libretls-3.4.2-r0
|
||||||
gpg-wks-client2.2.19-3ubuntu2.1
|
libsm-1.2.3-r0
|
||||||
gpg-wks-server2.2.19-3ubuntu2.1
|
libssl1.1-1.1.1m-r2
|
||||||
grep3.4-1
|
libstdc++-11.2.1_git20220219-r1
|
||||||
gzip1.10-0ubuntu4
|
libtorrent-rasterbar-2.0.5-r2
|
||||||
hostname3.23
|
libuuid-2.37.4-r1
|
||||||
init-system-helpers1.57
|
libx11-1.7.3.1-r0
|
||||||
krb5-locales1.17-6ubuntu4.1
|
libxau-1.0.9-r0
|
||||||
libacl12.2.53-6
|
libxcb-1.14-r2
|
||||||
libapparmor12.13.3-7ubuntu5.1
|
libxdmcp-1.1.3-r0
|
||||||
libapt-pkg6.02.0.6
|
libxext-1.3.4-r0
|
||||||
libasn1-8-heimdal7.7.0+dfsg-1ubuntu1
|
libxmu-1.1.3-r0
|
||||||
libassuan02.5.3-7ubuntu2
|
libxt-1.2.1-r0
|
||||||
libattr11:2.4.48-5
|
linux-pam-1.5.2-r0
|
||||||
libaudit11:2.8.5-2ubuntu6
|
mpdecimal-2.5.1-r1
|
||||||
libaudit-common1:2.8.5-2ubuntu6
|
musl-1.2.2-r7
|
||||||
libblkid12.34-0.1ubuntu9.1
|
musl-utils-1.2.2-r7
|
||||||
libbrotli11.0.7-6ubuntu0.1
|
ncurses-libs-6.3_p20220219-r0
|
||||||
libbz2-1.01.0.8-2
|
ncurses-terminfo-base-6.3_p20220219-r0
|
||||||
libc62.31-0ubuntu9.2
|
nghttp2-libs-1.47.0-r0
|
||||||
libcap-ng00.7.9-2.1build1
|
openssl-1.1.1m-r2
|
||||||
libc-bin2.31-0ubuntu9.2
|
p7zip-17.04-r2
|
||||||
libcom-err21.45.5-2ubuntu1
|
pcre-8.45-r2
|
||||||
libcrypt11:4.4.10-10ubuntu4
|
procps-3.3.17-r1
|
||||||
libcurl47.68.0-1ubuntu2.7
|
python3-3.10.2-r0
|
||||||
libdb5.35.3.28+dfsg1-0.6ubuntu2
|
qbittorrent-nox-4.4.1-r0
|
||||||
libdbus-1-31.12.16-2ubuntu2.1
|
qt5-qtbase-5.15.3_git20220217-r0
|
||||||
libdebconfclient00.251ubuntu1
|
readline-8.1.2-r0
|
||||||
libdouble-conversion33.1.5-4ubuntu1
|
scanelf-1.3.3-r0
|
||||||
libexpat12.2.9-1build1
|
shadow-4.10-r3
|
||||||
libext2fs21.45.5-2ubuntu1
|
skalibs-2.11.1.0-r0
|
||||||
libfdisk12.34-0.1ubuntu9.1
|
sqlite-libs-3.37.2-r0
|
||||||
libffi73.3-4
|
ssl_client-1.35.0-r5
|
||||||
libgcc-s110.3.0-1ubuntu1~20.04
|
tzdata-2021e-r0
|
||||||
libgcrypt201.8.5-5ubuntu1.1
|
utmps-libs-0.1.1.0-r2
|
||||||
libgdbm61.18.1-5
|
xdg-utils-1.1.3-r2
|
||||||
libgdbm-compat41.18.1-5
|
xprop-1.2.5-r0
|
||||||
libgeoip11.6.12-6build1
|
xset-1.2.4-r0
|
||||||
libglib2.0-02.64.6-1~ubuntu20.04.4
|
xz-5.2.5-r0
|
||||||
libglib2.0-data2.64.6-1~ubuntu20.04.4
|
xz-libs-5.2.5-r0
|
||||||
libgmp102:6.2.0+dfsg-4
|
zlib-1.2.11-r3
|
||||||
libgnutls303.6.13-2ubuntu1.6
|
zstd-libs-1.5.2-r0
|
||||||
libgpg-error01.37-1
|
|
||||||
libgssapi3-heimdal7.7.0+dfsg-1ubuntu1
|
|
||||||
libgssapi-krb5-21.17-6ubuntu4.1
|
|
||||||
libhcrypto4-heimdal7.7.0+dfsg-1ubuntu1
|
|
||||||
libheimbase1-heimdal7.7.0+dfsg-1ubuntu1
|
|
||||||
libheimntlm0-heimdal7.7.0+dfsg-1ubuntu1
|
|
||||||
libhogweed53.5.1+really3.5.1-2ubuntu0.2
|
|
||||||
libhx509-5-heimdal7.7.0+dfsg-1ubuntu1
|
|
||||||
libicu6666.1-2ubuntu2
|
|
||||||
libidn2-02.2.0-2
|
|
||||||
libk5crypto31.17-6ubuntu4.1
|
|
||||||
libkeyutils11.6-6ubuntu1
|
|
||||||
libkrb5-26-heimdal7.7.0+dfsg-1ubuntu1
|
|
||||||
libkrb5-31.17-6ubuntu4.1
|
|
||||||
libkrb5support01.17-6ubuntu4.1
|
|
||||||
libksba81.3.5-2
|
|
||||||
libldap-2.4-22.4.49+dfsg-2ubuntu1.8
|
|
||||||
libldap-common2.4.49+dfsg-2ubuntu1.8
|
|
||||||
liblz4-11.9.2-2ubuntu0.20.04.1
|
|
||||||
liblzma55.2.4-1ubuntu1
|
|
||||||
libmagic11:5.38-4
|
|
||||||
libmagic-mgc1:5.38-4
|
|
||||||
libmount12.34-0.1ubuntu9.1
|
|
||||||
libmpdec22.4.2-3
|
|
||||||
libncurses66.2-0ubuntu2
|
|
||||||
libncursesw66.2-0ubuntu2
|
|
||||||
libnetaddr-ip-perl4.079+dfsg-1build4
|
|
||||||
libnettle73.5.1+really3.5.1-2ubuntu0.2
|
|
||||||
libnghttp2-141.40.0-1build1
|
|
||||||
libnpth01.6-1
|
|
||||||
libp11-kit00.23.20-1ubuntu0.1
|
|
||||||
libpam0g1.3.1-5ubuntu4.2
|
|
||||||
libpam-modules1.3.1-5ubuntu4.2
|
|
||||||
libpam-modules-bin1.3.1-5ubuntu4.2
|
|
||||||
libpam-runtime1.3.1-5ubuntu4.2
|
|
||||||
libpcre2-16-010.34-7
|
|
||||||
libpcre2-8-010.34-7
|
|
||||||
libpcre32:8.39-12build1
|
|
||||||
libperl5.305.30.0-9ubuntu0.2
|
|
||||||
libprocps82:3.3.16-1ubuntu2.3
|
|
||||||
libpsl50.21.0-1ubuntu1
|
|
||||||
libpython3.8-minimal3.8.10-0ubuntu1~20.04.1
|
|
||||||
libpython3.8-stdlib3.8.10-0ubuntu1~20.04.1
|
|
||||||
libpython3-stdlib3.8.2-0ubuntu2
|
|
||||||
libqt5core5a5.12.8+dfsg-0ubuntu1
|
|
||||||
libqt5dbus55.12.8+dfsg-0ubuntu1
|
|
||||||
libqt5network55.12.8+dfsg-0ubuntu1
|
|
||||||
libqt5xml55.12.8+dfsg-0ubuntu1
|
|
||||||
libreadline88.0-4
|
|
||||||
libroken18-heimdal7.7.0+dfsg-1ubuntu1
|
|
||||||
librtmp12.4+20151223.gitfa8646d.1-2build1
|
|
||||||
libsasl2-22.1.27+dfsg-2
|
|
||||||
libsasl2-modules2.1.27+dfsg-2
|
|
||||||
libsasl2-modules-db2.1.27+dfsg-2
|
|
||||||
libseccomp22.5.1-1ubuntu1~20.04.1
|
|
||||||
libselinux13.0-1build2
|
|
||||||
libsemanage13.0-1build2
|
|
||||||
libsemanage-common3.0-1build2
|
|
||||||
libsepol13.0-1
|
|
||||||
libsmartcols12.34-0.1ubuntu9.1
|
|
||||||
libsocket6-perl0.29-1build1
|
|
||||||
libsqlite3-03.31.1-4ubuntu0.2
|
|
||||||
libss21.45.5-2ubuntu1
|
|
||||||
libssh-40.9.3-2ubuntu2.2
|
|
||||||
libssl1.11.1.1f-1ubuntu2.8
|
|
||||||
libstdc++610.3.0-1ubuntu1~20.04
|
|
||||||
libsystemd0245.4-4ubuntu3.13
|
|
||||||
libtasn1-64.16.0-2
|
|
||||||
libtinfo66.2-0ubuntu2
|
|
||||||
libtorrent-rasterbar101.2.14+git20210829.1178e4e0f3-1ppa1~20.04
|
|
||||||
libudev1245.4-4ubuntu3.13
|
|
||||||
libunistring20.9.10-2
|
|
||||||
libuuid12.34-0.1ubuntu9.1
|
|
||||||
libwind0-heimdal7.7.0+dfsg-1ubuntu1
|
|
||||||
libxml22.9.10+dfsg-5ubuntu0.20.04.1
|
|
||||||
libzstd11.4.4+dfsg-3ubuntu0.1
|
|
||||||
locales2.31-0ubuntu9.2
|
|
||||||
login1:4.8.1-1ubuntu5.20.04.1
|
|
||||||
logsave1.45.5-2ubuntu1
|
|
||||||
lsb-base11.1.0ubuntu2
|
|
||||||
mawk1.3.4.20200120-2
|
|
||||||
mime-support3.64ubuntu1
|
|
||||||
mount2.34-0.1ubuntu9.1
|
|
||||||
ncurses-base6.2-0ubuntu2
|
|
||||||
ncurses-bin6.2-0ubuntu2
|
|
||||||
netbase6.1
|
|
||||||
openssl1.1.1f-1ubuntu2.8
|
|
||||||
p7zip16.02+dfsg-7build1
|
|
||||||
p7zip-full16.02+dfsg-7build1
|
|
||||||
passwd1:4.8.1-1ubuntu5.20.04.1
|
|
||||||
perl5.30.0-9ubuntu0.2
|
|
||||||
perl-base5.30.0-9ubuntu0.2
|
|
||||||
perl-modules-5.305.30.0-9ubuntu0.2
|
|
||||||
pinentry-curses1.1.0-3build1
|
|
||||||
procps2:3.3.16-1ubuntu2.3
|
|
||||||
publicsuffix20200303.0012-1
|
|
||||||
python33.8.2-0ubuntu2
|
|
||||||
python3.83.8.10-0ubuntu1~20.04.1
|
|
||||||
python3.8-minimal3.8.10-0ubuntu1~20.04.1
|
|
||||||
python3-minimal3.8.2-0ubuntu2
|
|
||||||
qbittorrent-cli1.7.21116-1
|
|
||||||
qbittorrent-nox1:4.3.8.99~202110120741-7429-1bae770b2~ubuntu20.04.1
|
|
||||||
qttranslations5-l10n5.12.8-0ubuntu1
|
|
||||||
readline-common8.0-4
|
|
||||||
sed4.7-1
|
|
||||||
sensible-utils0.0.12+nmu1
|
|
||||||
shared-mime-info1.15-1
|
|
||||||
sysvinit-utils2.96-2.1ubuntu1
|
|
||||||
tar1.30+dfsg-7ubuntu0.20.04.1
|
|
||||||
tzdata2021a-2ubuntu0.20.04
|
|
||||||
ubuntu-keyring2020.02.11.4
|
|
||||||
unrar1:5.6.6-2build1
|
|
||||||
unzip6.0-25ubuntu1
|
|
||||||
util-linux2.34-0.1ubuntu9.1
|
|
||||||
xdg-user-dirs0.17-2ubuntu1
|
|
||||||
xz-utils5.2.4-1ubuntu1
|
|
||||||
zlib1g1:1.2.11.dfsg-2ubuntu1.2
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ available_architectures:
|
|||||||
development_versions: true
|
development_versions: true
|
||||||
development_versions_items:
|
development_versions_items:
|
||||||
- { tag: "latest", desc: "Stable qbittorrent releases" }
|
- { tag: "latest", desc: "Stable qbittorrent releases" }
|
||||||
- { tag: "unstable", desc: "Unstable qbittorrent releases" }
|
|
||||||
|
|
||||||
# container parameters
|
# container parameters
|
||||||
common_param_env_vars_enabled: true
|
common_param_env_vars_enabled: true
|
||||||
@@ -70,6 +69,12 @@ app_setup_block: |
|
|||||||
|
|
||||||
# changelog
|
# changelog
|
||||||
changelogs:
|
changelogs:
|
||||||
|
- { date: "02.03.22:", desc: "Add unrar, 7zip, and qbitorrent-cli." }
|
||||||
|
- { date: "01.03.22:", desc: "Add python for search plugin support." }
|
||||||
|
- { date: "23.02.22:", desc: "Rebase to Alpine Edge, install from Alpine repos." }
|
||||||
|
- { date: "19.02.22:", desc: "Add jq to build-stage" }
|
||||||
|
- { date: "07.01.22:", desc: "Rebase to Alpine, build from source." }
|
||||||
|
- { date: "06.01.22:", desc: "Deprecate unstable branch." }
|
||||||
- { date: "10.02.21:", desc: "Rebase to focal." }
|
- { date: "10.02.21:", desc: "Rebase to focal." }
|
||||||
- { date: "20.01.21:", desc: "Deprecate `UMASK_SET` in favor of UMASK in baseimage, see above for more information." }
|
- { date: "20.01.21:", desc: "Deprecate `UMASK_SET` in favor of UMASK in baseimage, see above for more information." }
|
||||||
- { date: "12.11.20:", desc: "Stop creating /config/data directory on startup" }
|
- { date: "12.11.20:", desc: "Stop creating /config/data directory on startup" }
|
||||||
|
|||||||
@@ -2,10 +2,5 @@
|
|||||||
|
|
||||||
WEBUI_PORT=${WEBUI_PORT:-8080}
|
WEBUI_PORT=${WEBUI_PORT:-8080}
|
||||||
|
|
||||||
if [ -n "${UMASK_SET}" ] && [ -z "${UMASK}" ]; then
|
|
||||||
echo -e "You are using a legacy method of defining umask\nplease update your environment variable from UMASK_SET to UMASK\nto keep the functionality after July 2021"
|
|
||||||
umask ${UMASK_SET}
|
|
||||||
fi
|
|
||||||
|
|
||||||
exec \
|
exec \
|
||||||
s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}"
|
s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}"
|
||||||
|
|||||||
14
root/usr/bin/qbt
Executable file
14
root/usr/bin/qbt
Executable file
@@ -0,0 +1,14 @@
|
|||||||
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
|
# qbt bash wrapper to prompt user when trying to save password
|
||||||
|
if [[ "$@" == "settings set password" ]]; then
|
||||||
|
echo "Setting password is not supported"
|
||||||
|
echo "Please use --ask-for-password or --password"
|
||||||
|
elif [[ "$@" == "settings set"* ]]; then
|
||||||
|
/qbt/qbt "$@"
|
||||||
|
elif [[ "$@" != *"--ask-for-password"* ]] && [[ "$@" != *"--password"* ]];then
|
||||||
|
echo "Please use --ask-for-password or --password and ensure username/url are set"
|
||||||
|
/qbt/qbt "$@"
|
||||||
|
else
|
||||||
|
/qbt/qbt "$@"
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user