Grant Henke has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/15389


Change subject: [docker] Reduce docker image size
......................................................................

[docker] Reduce docker image size

This patch reduces the Docker `kudu` image size by ~60 MB
(295MB -> 235MB).

It does this by moving the chown calls to before the files are
copied and using the `—chown` flag when copying files.
Before this change the chown command would effecively
double the size due to how aufs layers work.

I also removed some optional and unused packages from the
runtime and dev images.

Change-Id: I88238679912149d00ae3edc6a9d2d568f13aafca
---
M docker/Dockerfile
M docker/bootstrap-dev-env.sh
M docker/bootstrap-runtime-env.sh
3 files changed, 31 insertions(+), 22 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/89/15389/1
--
To view, visit http://gerrit.cloudera.org:8080/15389
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I88238679912149d00ae3edc6a9d2d568f13aafca
Gerrit-Change-Number: 15389
Gerrit-PatchSet: 1
Gerrit-Owner: Grant Henke <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to