From 0e51fdd8b12a556a9dba65ad3c28beb5cfaab094 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Thu, 17 Nov 2016 23:42:03 +0100 Subject: [PATCH 1/2] Purge autoremoved packages and exclude resolv.conf --- Dockerfile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile.in b/Dockerfile.in index 2e78fa0..5780631 100644 --- a/Dockerfile.in +++ b/Dockerfile.in @@ -16,9 +16,10 @@ RUN if grep -q jessie /etc/apt/sources.list; then \ RUN apt-get update \ && apt-get -y upgrade \ - && apt-get -y autoremove \ + && apt-get -y --purge autoremove \ && apt-get clean \ && find /var/lib/apt/lists -type f -delete + && rm -f /etc/resolv.conf LABEL org.redmars.docker.VcsType git LABEL org.redmars.docker.VcsUrl http://github.com/jmtd/debian-docker From 92cd5316867f0ab16420314a1310001971e28d75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Mon, 5 Dec 2016 17:10:14 +0100 Subject: [PATCH 2/2] Revert removing resolv.conf --- Dockerfile.in | 1 - 1 file changed, 1 deletion(-) diff --git a/Dockerfile.in b/Dockerfile.in index 5780631..5f5a57d 100644 --- a/Dockerfile.in +++ b/Dockerfile.in @@ -19,7 +19,6 @@ RUN apt-get update \ && apt-get -y --purge autoremove \ && apt-get clean \ && find /var/lib/apt/lists -type f -delete - && rm -f /etc/resolv.conf LABEL org.redmars.docker.VcsType git LABEL org.redmars.docker.VcsUrl http://github.com/jmtd/debian-docker