diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2017-08-31 22:40:43 -0700 |
---|---|---|
committer | Ross Brattain <ross.b.brattain@intel.com> | 2017-09-04 20:54:38 -0700 |
commit | 952c68f74c03facff84b987aa508040dd43ee30b (patch) | |
tree | 18ebcc3be88db1ec9a9201891a4042f5c8fe7319 /docker/Dockerfile | |
parent | 22dfb4fcb474ac201a22c5b3ce3c34baec641f9d (diff) |
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 <ross.b.brattain@intel.com>
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r-- | docker/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
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 |