From c5b5438d3c1e28ed433c7c7080b252eb7287f1f5 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Sun, 26 Nov 2017 13:14:16 +0000 Subject: [PATCH] Remove APT lists from image to lower its size --- Dockerfile | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Dockerfile b/Dockerfile index a8d12a1..f594f24 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,8 @@ RUN apt-get -y update \ && apt-get -y install wget sudo \ - && apt-get -y clean + && apt-get -y clean \ + && rm -Rf /var/lib/apt/lists/* RUN cd /tmp \ && wget -O openfire.deb "https://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_${OPENFIRE_VERSION}_all.deb" \ -- Gitblit v1.9.1