From 7e88a943105b30d40dadd2add16410e87115223d Mon Sep 17 00:00:00 2001 From: aptalca Date: Fri, 19 Jun 2020 19:31:21 -0400 Subject: [PATCH] add dkms --- Dockerfile | 7 +++---- Dockerfile.aarch64 | 7 +++---- Dockerfile.armhf | 7 +++---- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6b99a57..c43105f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/* \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 8817388..b3b7de2 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -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/* \ diff --git a/Dockerfile.armhf b/Dockerfile.armhf index ce76e7a..49ac1b4 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -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/* \