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


Change subject: [docker] Optimize kudu image size
......................................................................

[docker] Optimize kudu image size

This patch optimizes the docker kudu image size.

A runtime base image was created that installs only the
minimal runtime packages. Additionally the kudu binaries
were stripped to reduce their size. The Java and Python
libraries were also removed from the kudu image. A client
image can be created specifically for python/java as
needed and as a result those images can be much smaller
too.

This change reduces the kudu image from ~2GiB to
~325MiB. The base OS (xenial) is ~44MiB. The new
runtime base image is ~174MiB. The Kudu binaries
are ~148MB. In the future we could reduced the
binary size further by allowing the kudu master and
tserver to be started from the kudu binary.

Additionally the build script is updated to build/tag only
the kudu image by default and take a few more arguments.
These changes make the builds cleaner and reduce the
disk space used by tagged builds.

Change-Id: I2a1fdad54744a1680d362f59433e94749f35469f
---
M .dockerignore
M docker/Dockerfile
M docker/README.adoc
R docker/bootstrap-dev-env.sh
A docker/bootstrap-runtime-env.sh
M docker/docker-build.sh
6 files changed, 227 insertions(+), 95 deletions(-)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2a1fdad54744a1680d362f59433e94749f35469f
Gerrit-Change-Number: 12371
Gerrit-PatchSet: 1
Gerrit-Owner: Grant Henke <[email protected]>

Reply via email to