From f1ece4cc41b624136521bba6d04568a39a9b1100 Mon Sep 17 00:00:00 2001 From: Ross Brattain Date: Thu, 31 Aug 2017 22:40:43 -0700 Subject: Dockerfile: apt-get clean to save layer space it seems like normally Dockerfiles do an apt-get clean to remove apt cache and save space on docker layers Change-Id: I2ac9d30daa917973c3ba76a50cda67d6ecb8c47a Signed-off-by: Ross Brattain (cherry picked from commit 952c68f74c03facff84b987aa508040dd43ee30b) --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docker/Dockerfile') diff --git a/docker/Dockerfile b/docker/Dockerfile index b48a550bf..a58bbbc7b 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -24,7 +24,7 @@ ENV YARDSTICK_REPO_DIR ${REPOS_DIR}/yardstick ENV RELENG_REPO_DIR ${REPOS_DIR}/releng ENV STORPERF_REPO_DIR ${REPOS_DIR}/storperf -RUN apt-get update && apt-get install -y git python-setuptools python-pip +RUN apt-get update && apt-get install -y git python-setuptools python-pip && apt-get -y autoremove && apt-get clean RUN easy_install -U setuptools==30.0.0 RUN pip install appdirs==1.4.0 -- cgit 1.2.3-korg