mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-17 18:08:16 +01:00
Test add wireguard
This commit is contained in:
@@ -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 /
|
||||
|
||||
|
||||
Reference in New Issue
Block a user