From 28f5722e24c47ae3b7c6fdc698c1d4f9ac836a35 Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Fri, 5 Aug 2016 15:42:52 +0200 Subject: Reducing disk footprint for Ubuntu/Debian images Only install English locales and do not install documentation. http://wiki.ubuntu.com/ReducingDiskFootprint Change-Id: I129cd7cc8777112acb751c600feb8900c0c2a461 --- docker/base/Dockerfile.j2 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docker/base/Dockerfile.j2') diff --git a/docker/base/Dockerfile.j2 b/docker/base/Dockerfile.j2 index 1503d5039..864ec2adb 100644 --- a/docker/base/Dockerfile.j2 +++ b/docker/base/Dockerfile.j2 @@ -190,6 +190,9 @@ RUN cat /tmp/kolla_bashrc >> /etc/bash.bashrc # This will prevent questions from being asked during the install ENV DEBIAN_FRONTEND noninteractive +# Reducing disk footprint +COPY dpkg_reducing_disk_footprint /etc/dpkg/dpkg.cfg.d/dpkg_reducing_disk_footprint + # Need apt-transport-https BEFORE we replace sources.list or apt-get update wont work! RUN apt-get update && apt-get -y install --no-install-recommends apt-transport-https ca-certificates -- cgit v1.2.3