Block a user
pia-qbittorrent-docker (latest)
Published 2025-02-12 22:57:13 +01:00 by jmueller
Installation
docker pull git.jmueller.eu/jmueller/pia-qbittorrent-docker:latestsha256:604c80671f5658508891afec24a4eb9949407210d949b50e43e4b7160c155f20
Image Layers
| ADD alpine-minirootfs-3.20.5-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| ENV USER= PASSWORD= REGION=Netherlands PORT_FORWARDING=false LEGACY_IPTABLES=false WEBUI_PORT=8888 DNS_SERVERS=84.200.69.80,84.200.70.40 UID=700 GID=700 |
| VOLUME [/downloads] |
| VOLUME [/config] |
| EXPOSE 8888 |
| ENV DEBIAN_FRONTEND=noninteractive |
| /bin/sh -c apk add --no-cache -t .build-deps autoconf automake build-base cmake git libtool linux-headers perl pkgconf python3-dev re2c tar unzip icu-dev openssl-dev qt6-qtbase-dev qt6-qttools-dev zlib-dev qt6-qtsvg-dev && apk add --no-cache ca-certificates libressl qt6-qtbase qt6-qtbase-sqlite iptables iptables-legacy openvpn ack bind-tools python3 doas tzdata curl jq && if [ ! -e /usr/bin/python ]; then ln -sf python3 /usr/bin/python ; fi && curl -sNLk --retry 5 https://github.com/boostorg/boost/releases/download/boost-1.86.0/boost-1.86.0-b2-nodocs.tar.gz | tar xzC /tmp && curl -sSL --retry 5 https://github.com/ninja-build/ninja/archive/refs/tags/v1.11.1.tar.gz | tar xzC /tmp && cd /tmp/*ninja* && cmake -Wno-dev -B build -D CMAKE_CXX_STANDARD=17 -D CMAKE_INSTALL_PREFIX="/usr/local" && cmake --build build -j $(nproc) && cmake --install build && curl -sSL --retry 5 https://github.com/arvidn/libtorrent/releases/download/v2.0.10/libtorrent-rasterbar-2.0.10.tar.gz | tar xzC /tmp && cd /tmp/*libtorrent* && cmake -Wno-dev -G Ninja -B build -D CMAKE_BUILD_TYPE="Release" -D CMAKE_CXX_STANDARD=17 -D BOOST_INCLUDEDIR="/tmp/boost-1.86.0/" -D CMAKE_INSTALL_LIBDIR="lib" -D CMAKE_INSTALL_PREFIX="/usr/local" && cmake --build build -j $(nproc) && cmake --install build && curl -sSL --retry 5 https://api.github.com/repos/qbittorrent/qBittorrent/tarball/release-5.0.3 | tar xzC /tmp && cd /tmp/*qBittorrent* && cmake -Wno-dev -G Ninja -B build -D CMAKE_BUILD_TYPE="release" -D GUI=OFF -D CMAKE_CXX_STANDARD=17 -D BOOST_INCLUDEDIR="/tmp/boost-1.86.0/" -D CMAKE_INSTALL_PREFIX="/usr/local" && cmake --build build -j $(nproc) && cmake --install build && mkdir /tmp/openvpn && cd /tmp/openvpn && curl -sSL --retry 5 https://www.privateinternetaccess.com/openvpn/openvpn-ip.zip -o openvpn-nextgen.zip && mkdir -p /openvpn/target && unzip -q openvpn-nextgen.zip -d /openvpn/nextgen && rm *.zip && apk del --purge .build-deps && cd / && rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/cache/distfiles/* /usr/include/* |
| COPY multi:d8b3a86635c025ad9885b6a94e84da3c81effc7f05928bdb4cb86a235726090b in / |
| /bin/sh -c adduser -D -H -s /sbin/nologin -u $UID qbtUser && echo "permit nopass :root" >> "/etc/doas.d/doas.conf" |
| /bin/sh -c chmod 500 /entrypoint.sh |
| ENTRYPOINT ["/entrypoint.sh"] |
| HEALTHCHECK &{["CMD-SHELL" "/healthcheck.sh"] "1m0s" "3s" "1m0s" "0s" '\x01'} |