Compare commits
14 Commits
14.3.4.992
...
14.3.5.992
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9c6a639487 | ||
|
|
83d85cedc1 | ||
|
|
d9f7f21791 | ||
|
|
2375382a28 | ||
|
|
5d811b36c6 | ||
|
|
e824d378e7 | ||
|
|
f9483a88b6 | ||
|
|
f83f3fd5fb | ||
|
|
ecbb937c39 | ||
|
|
2bbec40d33 | ||
|
|
05fbba3e20 | ||
|
|
f3de1fa5e5 | ||
|
|
ca6d61ebe6 | ||
|
|
0bf1c72566 |
60
Dockerfile
60
Dockerfile
@@ -15,39 +15,39 @@ XDG_DATA_HOME="/config"
|
|||||||
|
|
||||||
# add repo and install qbitorrent
|
# add repo and install qbitorrent
|
||||||
RUN \
|
RUN \
|
||||||
echo "***** add qbitorrent repositories ****" && \
|
echo "***** add qbitorrent repositories ****" && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
gnupg \
|
gnupg \
|
||||||
python3 && \
|
python3 && \
|
||||||
curl -s https://bintray.com/user/downloadSubjectPublicKey?username=fedarovich | apt-key add - && \
|
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 && \
|
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 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-src http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu focal main" >> /etc/apt/sources.list.d/qbitorrent.list && \
|
||||||
echo "deb https://dl.bintray.com/fedarovich/qbittorrent-cli-debian 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 ****" && \
|
||||||
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 -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}');\
|
|grep -A 7 -m 1 "Package: qbittorrent-nox" | awk -F ": " '/Version/{print $2;exit}');\
|
||||||
fi && \
|
fi && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
p7zip-full \
|
p7zip-full \
|
||||||
qbittorrent-cli \
|
qbittorrent-cli \
|
||||||
qbittorrent-nox=${QBITTORRENT_VERSION} \
|
qbittorrent-nox=${QBITTORRENT_VERSION} \
|
||||||
unrar \
|
unrar \
|
||||||
geoip-bin \
|
geoip-bin \
|
||||||
unzip && \
|
unzip && \
|
||||||
echo "**** cleanup ****" && \
|
echo "**** cleanup ****" && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf \
|
rm -rf \
|
||||||
/tmp/* \
|
/tmp/* \
|
||||||
/var/lib/apt/lists/* \
|
/var/lib/apt/lists/* \
|
||||||
/var/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 6881 6881/udp 8080
|
||||||
VOLUME /config /downloads
|
VOLUME /config
|
||||||
|
|||||||
@@ -15,39 +15,39 @@ XDG_DATA_HOME="/config"
|
|||||||
|
|
||||||
# add repo and install qbitorrent
|
# add repo and install qbitorrent
|
||||||
RUN \
|
RUN \
|
||||||
echo "***** add qbitorrent repositories ****" && \
|
echo "***** add qbitorrent repositories ****" && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
gnupg \
|
gnupg \
|
||||||
python3 && \
|
python3 && \
|
||||||
curl -s https://bintray.com/user/downloadSubjectPublicKey?username=fedarovich | apt-key add - && \
|
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 && \
|
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 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-src http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu focal main" >> /etc/apt/sources.list.d/qbitorrent.list && \
|
||||||
echo "deb https://dl.bintray.com/fedarovich/qbittorrent-cli-debian 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 ****" && \
|
||||||
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 -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}');\
|
|grep -A 7 -m 1 "Package: qbittorrent-nox" | awk -F ": " '/Version/{print $2;exit}');\
|
||||||
fi && \
|
fi && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
p7zip-full \
|
p7zip-full \
|
||||||
qbittorrent-cli \
|
qbittorrent-cli \
|
||||||
qbittorrent-nox=${QBITTORRENT_VERSION} \
|
qbittorrent-nox=${QBITTORRENT_VERSION} \
|
||||||
unrar \
|
unrar \
|
||||||
geoip-bin \
|
geoip-bin \
|
||||||
unzip && \
|
unzip && \
|
||||||
echo "**** cleanup ****" && \
|
echo "**** cleanup ****" && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf \
|
rm -rf \
|
||||||
/tmp/* \
|
/tmp/* \
|
||||||
/var/lib/apt/lists/* \
|
/var/lib/apt/lists/* \
|
||||||
/var/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 6881 6881/udp 8080
|
||||||
VOLUME /config /downloads
|
VOLUME /config
|
||||||
|
|||||||
@@ -15,39 +15,39 @@ XDG_DATA_HOME="/config"
|
|||||||
|
|
||||||
# add repo and install qbitorrent
|
# add repo and install qbitorrent
|
||||||
RUN \
|
RUN \
|
||||||
echo "***** add qbitorrent repositories ****" && \
|
echo "***** add qbitorrent repositories ****" && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
gnupg \
|
gnupg \
|
||||||
python3 && \
|
python3 && \
|
||||||
curl -s https://bintray.com/user/downloadSubjectPublicKey?username=fedarovich | apt-key add - && \
|
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 && \
|
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 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-src http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu focal main" >> /etc/apt/sources.list.d/qbitorrent.list && \
|
||||||
echo "deb https://dl.bintray.com/fedarovich/qbittorrent-cli-debian 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 ****" && \
|
||||||
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 -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}');\
|
|grep -A 7 -m 1 "Package: qbittorrent-nox" | awk -F ": " '/Version/{print $2;exit}');\
|
||||||
fi && \
|
fi && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
p7zip-full \
|
p7zip-full \
|
||||||
qbittorrent-cli \
|
qbittorrent-cli \
|
||||||
qbittorrent-nox=${QBITTORRENT_VERSION} \
|
qbittorrent-nox=${QBITTORRENT_VERSION} \
|
||||||
unrar \
|
unrar \
|
||||||
geoip-bin \
|
geoip-bin \
|
||||||
unzip && \
|
unzip && \
|
||||||
echo "**** cleanup ****" && \
|
echo "**** cleanup ****" && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf \
|
rm -rf \
|
||||||
/tmp/* \
|
/tmp/* \
|
||||||
/var/lib/apt/lists/* \
|
/var/lib/apt/lists/* \
|
||||||
/var/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 6881 6881/udp 8080
|
||||||
VOLUME /config /downloads
|
VOLUME /config
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ libgssapi-krb5-21.17-6ubuntu4.1
|
|||||||
libhcrypto4-heimdal7.7.0+dfsg-1ubuntu1
|
libhcrypto4-heimdal7.7.0+dfsg-1ubuntu1
|
||||||
libheimbase1-heimdal7.7.0+dfsg-1ubuntu1
|
libheimbase1-heimdal7.7.0+dfsg-1ubuntu1
|
||||||
libheimntlm0-heimdal7.7.0+dfsg-1ubuntu1
|
libheimntlm0-heimdal7.7.0+dfsg-1ubuntu1
|
||||||
libhogweed53.5.1+really3.5.1-2
|
libhogweed53.5.1+really3.5.1-2ubuntu0.1
|
||||||
libhx509-5-heimdal7.7.0+dfsg-1ubuntu1
|
libhx509-5-heimdal7.7.0+dfsg-1ubuntu1
|
||||||
libicu6666.1-2ubuntu2
|
libicu6666.1-2ubuntu2
|
||||||
libidn2-02.2.0-2
|
libidn2-02.2.0-2
|
||||||
@@ -88,8 +88,8 @@ libkrb5-26-heimdal7.7.0+dfsg-1ubuntu1
|
|||||||
libkrb5-31.17-6ubuntu4.1
|
libkrb5-31.17-6ubuntu4.1
|
||||||
libkrb5support01.17-6ubuntu4.1
|
libkrb5support01.17-6ubuntu4.1
|
||||||
libksba81.3.5-2
|
libksba81.3.5-2
|
||||||
libldap-2.4-22.4.49+dfsg-2ubuntu1.7
|
libldap-2.4-22.4.49+dfsg-2ubuntu1.8
|
||||||
libldap-common2.4.49+dfsg-2ubuntu1.7
|
libldap-common2.4.49+dfsg-2ubuntu1.8
|
||||||
liblz4-11.9.2-2
|
liblz4-11.9.2-2
|
||||||
liblzma55.2.4-1ubuntu1
|
liblzma55.2.4-1ubuntu1
|
||||||
libmagic11:5.38-4
|
libmagic11:5.38-4
|
||||||
@@ -99,7 +99,7 @@ libmpdec22.4.2-3
|
|||||||
libncurses66.2-0ubuntu2
|
libncurses66.2-0ubuntu2
|
||||||
libncursesw66.2-0ubuntu2
|
libncursesw66.2-0ubuntu2
|
||||||
libnetaddr-ip-perl4.079+dfsg-1build4
|
libnetaddr-ip-perl4.079+dfsg-1build4
|
||||||
libnettle73.5.1+really3.5.1-2
|
libnettle73.5.1+really3.5.1-2ubuntu0.1
|
||||||
libnghttp2-141.40.0-1build1
|
libnghttp2-141.40.0-1build1
|
||||||
libnpth01.6-1
|
libnpth01.6-1
|
||||||
libp11-kit00.23.20-1ubuntu0.1
|
libp11-kit00.23.20-1ubuntu0.1
|
||||||
@@ -111,7 +111,7 @@ libpcre2-16-010.34-7
|
|||||||
libpcre2-8-010.34-7
|
libpcre2-8-010.34-7
|
||||||
libpcre32:8.39-12build1
|
libpcre32:8.39-12build1
|
||||||
libperl5.305.30.0-9ubuntu0.2
|
libperl5.305.30.0-9ubuntu0.2
|
||||||
libprocps82:3.3.16-1ubuntu2
|
libprocps82:3.3.16-1ubuntu2.1
|
||||||
libpsl50.21.0-1ubuntu1
|
libpsl50.21.0-1ubuntu1
|
||||||
libpython3.8-minimal3.8.5-1~20.04.2
|
libpython3.8-minimal3.8.5-1~20.04.2
|
||||||
libpython3.8-stdlib3.8.5-1~20.04.2
|
libpython3.8-stdlib3.8.5-1~20.04.2
|
||||||
@@ -126,7 +126,7 @@ librtmp12.4+20151223.gitfa8646d.1-2build1
|
|||||||
libsasl2-22.1.27+dfsg-2
|
libsasl2-22.1.27+dfsg-2
|
||||||
libsasl2-modules2.1.27+dfsg-2
|
libsasl2-modules2.1.27+dfsg-2
|
||||||
libsasl2-modules-db2.1.27+dfsg-2
|
libsasl2-modules-db2.1.27+dfsg-2
|
||||||
libseccomp22.4.3-1ubuntu3.20.04.3
|
libseccomp22.5.1-1ubuntu1~20.04.1
|
||||||
libselinux13.0-1build2
|
libselinux13.0-1build2
|
||||||
libsemanage13.0-1build2
|
libsemanage13.0-1build2
|
||||||
libsemanage-common3.0-1build2
|
libsemanage-common3.0-1build2
|
||||||
@@ -141,7 +141,7 @@ libstdc++610.2.0-5ubuntu1~20.04
|
|||||||
libsystemd0245.4-4ubuntu3.6
|
libsystemd0245.4-4ubuntu3.6
|
||||||
libtasn1-64.16.0-2
|
libtasn1-64.16.0-2
|
||||||
libtinfo66.2-0ubuntu2
|
libtinfo66.2-0ubuntu2
|
||||||
libtorrent-rasterbar101.2.13+git20210323.34a979720b-1ppa1~20.04
|
libtorrent-rasterbar101.2.13+git20210501.22af326f6c-1ppa1~20.04
|
||||||
libudev1245.4-4ubuntu3.6
|
libudev1245.4-4ubuntu3.6
|
||||||
libunistring20.9.10-2
|
libunistring20.9.10-2
|
||||||
libuuid12.34-0.1ubuntu9.1
|
libuuid12.34-0.1ubuntu9.1
|
||||||
@@ -166,14 +166,14 @@ perl5.30.0-9ubuntu0.2
|
|||||||
perl-base5.30.0-9ubuntu0.2
|
perl-base5.30.0-9ubuntu0.2
|
||||||
perl-modules-5.305.30.0-9ubuntu0.2
|
perl-modules-5.305.30.0-9ubuntu0.2
|
||||||
pinentry-curses1.1.0-3build1
|
pinentry-curses1.1.0-3build1
|
||||||
procps2:3.3.16-1ubuntu2
|
procps2:3.3.16-1ubuntu2.1
|
||||||
publicsuffix20200303.0012-1
|
publicsuffix20200303.0012-1
|
||||||
python33.8.2-0ubuntu2
|
python33.8.2-0ubuntu2
|
||||||
python3.83.8.5-1~20.04.2
|
python3.83.8.5-1~20.04.2
|
||||||
python3.8-minimal3.8.5-1~20.04.2
|
python3.8-minimal3.8.5-1~20.04.2
|
||||||
python3-minimal3.8.2-0ubuntu2
|
python3-minimal3.8.2-0ubuntu2
|
||||||
qbittorrent-cli1.6.20334-1
|
qbittorrent-cli1.7.21116-1
|
||||||
qbittorrent-nox1:4.3.4.99~202104180633-7350-2c8f322af~ubuntu20.04.1
|
qbittorrent-nox1:4.3.5.99~202105022253-7365-063844ed4~ubuntu20.04.1
|
||||||
qttranslations5-l10n5.12.8-0ubuntu1
|
qttranslations5-l10n5.12.8-0ubuntu1
|
||||||
readline-common8.0-4
|
readline-common8.0-4
|
||||||
sed4.7-1
|
sed4.7-1
|
||||||
|
|||||||
@@ -15,8 +15,10 @@ mkdir -p /config/qBittorrent
|
|||||||
mv /config/data/qBittorrent/BT_backup/ /config/data/qBittorrent/BT_backup.old/
|
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 [[ "$(stat -c '%U' /downloads)" != "abc" ]]; then
|
if [[ -d /downloads ]]; then
|
||||||
chown -R abc:abc /downloads
|
if [[ "$(stat -c '%U' /downloads)" != "abc" ]]; then
|
||||||
|
chown -R abc:abc /downloads
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# permissions
|
# permissions
|
||||||
|
|||||||
Reference in New Issue
Block a user