mirror of
https://github.com/linuxserver/docker-wireguard
synced 2024-11-19 15:25:35 +00:00
add dkms
This commit is contained in:
parent
477cafe1e5
commit
7e88a94310
@ -30,7 +30,9 @@ RUN \
|
||||
qrencode && \
|
||||
echo resolvconf resolvconf/linkify-resolvconf boolean false | debconf-set-selections && \
|
||||
echo "REPORT_ABSENT_SYMLINK=no" >> /etc/default/resolvconf && \
|
||||
apt-get install resolvconf && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
dkms \
|
||||
resolvconf && \
|
||||
echo "**** install wireguard-tools ****" && \
|
||||
if [ -z ${WIREGUARD_RELEASE+x} ]; then \
|
||||
WIREGUARD_RELEASE=$(curl -sX GET "https://api.github.com/repos/WireGuard/wireguard-tools/tags" \
|
||||
@ -53,9 +55,6 @@ RUN \
|
||||
/tmp/coredns.tar.gz -C \
|
||||
/app && \
|
||||
echo "**** clean up ****" && \
|
||||
apt-get -y purge \
|
||||
git && \
|
||||
apt-get -y autoremove && \
|
||||
rm -rf \
|
||||
/tmp/* \
|
||||
/var/lib/apt/lists/* \
|
||||
|
@ -30,7 +30,9 @@ RUN \
|
||||
qrencode && \
|
||||
echo resolvconf resolvconf/linkify-resolvconf boolean false | debconf-set-selections && \
|
||||
echo "REPORT_ABSENT_SYMLINK=no" >> /etc/default/resolvconf && \
|
||||
apt-get install resolvconf && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
dkms \
|
||||
resolvconf && \
|
||||
echo "**** install wireguard-tools ****" && \
|
||||
if [ -z ${WIREGUARD_RELEASE+x} ]; then \
|
||||
WIREGUARD_RELEASE=$(curl -sX GET "https://api.github.com/repos/WireGuard/wireguard-tools/tags" \
|
||||
@ -53,9 +55,6 @@ RUN \
|
||||
/tmp/coredns.tar.gz -C \
|
||||
/app && \
|
||||
echo "**** clean up ****" && \
|
||||
apt-get -y purge \
|
||||
git && \
|
||||
apt-get -y autoremove && \
|
||||
rm -rf \
|
||||
/tmp/* \
|
||||
/var/lib/apt/lists/* \
|
||||
|
@ -30,7 +30,9 @@ RUN \
|
||||
qrencode && \
|
||||
echo resolvconf resolvconf/linkify-resolvconf boolean false | debconf-set-selections && \
|
||||
echo "REPORT_ABSENT_SYMLINK=no" >> /etc/default/resolvconf && \
|
||||
apt-get install resolvconf && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
dkms \
|
||||
resolvconf && \
|
||||
echo "**** install wireguard-tools ****" && \
|
||||
if [ -z ${WIREGUARD_RELEASE+x} ]; then \
|
||||
WIREGUARD_RELEASE=$(curl -sX GET "https://api.github.com/repos/WireGuard/wireguard-tools/tags" \
|
||||
@ -53,9 +55,6 @@ RUN \
|
||||
/tmp/coredns.tar.gz -C \
|
||||
/app && \
|
||||
echo "**** clean up ****" && \
|
||||
apt-get -y purge \
|
||||
git && \
|
||||
apt-get -y autoremove && \
|
||||
rm -rf \
|
||||
/tmp/* \
|
||||
/var/lib/apt/lists/* \
|
||||
|
Loading…
Reference in New Issue
Block a user