Compare commits
16 Commits
unstable-4
...
unstable-4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a42aa10d77 | ||
|
|
e96479f302 | ||
|
|
60dae1c258 | ||
|
|
de3d031cc0 | ||
|
|
c6367a0f92 | ||
|
|
5946838097 | ||
|
|
3968819935 | ||
|
|
f621acf436 | ||
|
|
1acc264578 | ||
|
|
384d611e66 | ||
|
|
931d8dd0c2 | ||
|
|
a4a5dd92b0 | ||
|
|
3120dca15e | ||
|
|
d885e13383 | ||
|
|
8d1a0f0a3a | ||
|
|
38c24747c4 |
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-unstable/ubuntu focal main" >> /etc/apt/sources.list.d/qbitorrent.list && \
|
echo "deb http://ppa.launchpad.net/qbittorrent-team/qbittorrent-unstable/ubuntu focal main" >> /etc/apt/sources.list.d/qbitorrent.list && \
|
||||||
echo "deb-src http://ppa.launchpad.net/qbittorrent-team/qbittorrent-unstable/ubuntu focal main" >> /etc/apt/sources.list.d/qbitorrent.list && \
|
echo "deb-src http://ppa.launchpad.net/qbittorrent-team/qbittorrent-unstable/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-unstable/ubuntu/dists/focal/main/binary-amd64/Packages.gz | gunzip -c \
|
QBITTORRENT_VERSION=$(curl -sX GET http://ppa.launchpad.net/qbittorrent-team/qbittorrent-unstable/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-unstable/ubuntu focal main" >> /etc/apt/sources.list.d/qbitorrent.list && \
|
echo "deb http://ppa.launchpad.net/qbittorrent-team/qbittorrent-unstable/ubuntu focal main" >> /etc/apt/sources.list.d/qbitorrent.list && \
|
||||||
echo "deb-src http://ppa.launchpad.net/qbittorrent-team/qbittorrent-unstable/ubuntu focal main" >> /etc/apt/sources.list.d/qbitorrent.list && \
|
echo "deb-src http://ppa.launchpad.net/qbittorrent-team/qbittorrent-unstable/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-unstable/ubuntu/dists/focal/main/binary-amd64/Packages.gz | gunzip -c \
|
QBITTORRENT_VERSION=$(curl -sX GET http://ppa.launchpad.net/qbittorrent-team/qbittorrent-unstable/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-unstable/ubuntu focal main" >> /etc/apt/sources.list.d/qbitorrent.list && \
|
echo "deb http://ppa.launchpad.net/qbittorrent-team/qbittorrent-unstable/ubuntu focal main" >> /etc/apt/sources.list.d/qbitorrent.list && \
|
||||||
echo "deb-src http://ppa.launchpad.net/qbittorrent-team/qbittorrent-unstable/ubuntu focal main" >> /etc/apt/sources.list.d/qbitorrent.list && \
|
echo "deb-src http://ppa.launchpad.net/qbittorrent-team/qbittorrent-unstable/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-unstable/ubuntu/dists/focal/main/binary-amd64/Packages.gz | gunzip -c \
|
QBITTORRENT_VERSION=$(curl -sX GET http://ppa.launchpad.net/qbittorrent-team/qbittorrent-unstable/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
|
||||||
|
|||||||
@@ -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
|
||||||
@@ -119,6 +119,8 @@ libpython3-stdlib3.8.2-0ubuntu2
|
|||||||
libqt5core5a5.12.8+dfsg-0ubuntu1
|
libqt5core5a5.12.8+dfsg-0ubuntu1
|
||||||
libqt5dbus55.12.8+dfsg-0ubuntu1
|
libqt5dbus55.12.8+dfsg-0ubuntu1
|
||||||
libqt5network55.12.8+dfsg-0ubuntu1
|
libqt5network55.12.8+dfsg-0ubuntu1
|
||||||
|
libqt5sql55.12.8+dfsg-0ubuntu1
|
||||||
|
libqt5sql5-sqlite5.12.8+dfsg-0ubuntu1
|
||||||
libqt5xml55.12.8+dfsg-0ubuntu1
|
libqt5xml55.12.8+dfsg-0ubuntu1
|
||||||
libreadline88.0-4
|
libreadline88.0-4
|
||||||
libroken18-heimdal7.7.0+dfsg-1ubuntu1
|
libroken18-heimdal7.7.0+dfsg-1ubuntu1
|
||||||
@@ -141,7 +143,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
|
||||||
@@ -172,8 +174,8 @@ 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-nox4.4.0~202104260717-7286-ab6141edb~ubuntu20.04.1
|
qbittorrent-nox4.4.0~202105070403-7295-59b53f3db~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
|
||||||
|
|||||||
@@ -10,8 +10,10 @@ mkdir -p \
|
|||||||
cp /defaults/qBittorrent.conf /config/qBittorrent/qBittorrent.conf
|
cp /defaults/qBittorrent.conf /config/qBittorrent/qBittorrent.conf
|
||||||
|
|
||||||
# chown download directory if currently set to root
|
# chown download directory if currently set to root
|
||||||
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