From f88e8fc87cda6674a008f7d6b7aa0906e126c783 Mon Sep 17 00:00:00 2001 From: Abhilash Raj Date: Wed, 26 Apr 2017 11:50:28 -0700 Subject: [PATCH] Remove apt lists to reduce the mailman-web image size. --- web/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/Dockerfile b/web/Dockerfile index d4dfb04..16bd22a 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -5,9 +5,10 @@ MAINTAINER Abhilash Raj ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update \ - && apt-get install -y ruby-sass \ + && apt-get install -y --no-install-recommends ruby-sass \ wget \ - postgresql-client + postgresql-client \ + && rm -rf /var/lib/apt/lists/* RUN wget -O mailmanclient.zip https://gitlab.com/mailman/mailmanclient/repository/archive.zip?ref=master \ && wget -O postorius.zip https://gitlab.com/mailman/postorius/repository/archive.zip?ref=master \