From f38cfbd0cd5ebfd78fec67adc6490699f62d8b2f Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Sun, 26 Nov 2017 13:19:54 +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 b641acc..3c3d67f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,8 @@ RUN apt-get update \ && apt-get dist-upgrade -y \ && apt-get install -y git-core sudo wget \ - && apt-get clean + && apt-get clean \ + && rm -Rf /var/lib/apt/lists/* # Install Gitblit -- Gitblit v1.9.1