From 47af927c53f5b7342e05bfc46381916bb07f5ffe Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 9 Oct 2021 21:50:12 +0200 Subject: [PATCH] Test add wireguard --- qbittorrent/Dockerfile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/qbittorrent/Dockerfile b/qbittorrent/Dockerfile index d7714c550..20af94218 100644 --- a/qbittorrent/Dockerfile +++ b/qbittorrent/Dockerfile @@ -68,6 +68,34 @@ RUN \ && echo 'WebUI\HostHeaderValidation=false' >> /defaults/qBittorrent.conf \ && echo 'WebUI\LocalHostAuth=false' >> /defaults/qBittorrent.conf +# From https://github.com/DyonR/docker-qbittorrentvpn/blob/master/Dockerfile +# Install WireGuard and some other dependencies some of the scripts in the container rely on. +RUN echo "deb http://deb.debian.org/debian/ unstable main" > /etc/apt/sources.list.d/unstable-wireguard.list \ + && printf 'Package: *\nPin: release a=unstable\nPin-Priority: 150\n' > /etc/apt/preferences.d/limit-unstable \ + && apt update \ + && apt install -y --no-install-recommends \ + ca-certificates \ + dos2unix \ + inetutils-ping \ + ipcalc \ + iptables \ + kmod \ + libqt5network5 \ + libqt5xml5 \ + libssl1.1 \ + moreutils \ + net-tools \ + openresolv \ + openvpn \ + procps \ + wireguard-tools \ + && apt-get clean \ + && apt autoremove -y \ + && rm -rf \ + /var/lib/apt/lists/* \ + /tmp/* \ + /var/tmp/* + # Copy root filesystem COPY rootfs /