From ae896bce775ba55e3dfa322b6d5e8dab85f79f17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Fri, 28 Jan 2022 09:16:04 +0100 Subject: [PATCH] Use autoremove instead of remove to remove more cruft --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 494a456..b13678f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ RUN apt-get -qqqy dist-upgrade RUN apt-get -qqqy install bind9=$DEB_VERSION bind9utils=$DEB_VERSION # Now remove the pkexec that got pulled as dependency to software-properties-common -RUN apt-get --purge -y remove policykit-1 +RUN apt-get --purge -y autoremove policykit-1 RUN mkdir -p /etc/bind && chown root:bind /etc/bind/ && chmod 755 /etc/bind RUN mkdir -p /var/cache/bind && chown bind:bind /var/cache/bind && chmod 755 /var/cache/bind