Grant Henke has uploaded this change for review. ( http://gerrit.cloudera.org:8080/17564
Change subject: [docker] Add support for publishing UBI based runtime images ...................................................................... [docker] Add support for publishing UBI based runtime images This patch adds a `--use-ubi` option to the docker build. When that option is passed for Centos 7 and 8 builds, the Kudu runtime images (`kudu` & `kudu-python`) will be built using a UBI base instead of the CentOS base. If the `--use-ubi` flag is passed for any unsupported OS, a clear error message will be printed. We do not build the development images using the UBI base because the package repositories in the UBI do not contain all the packages neccessary to build Kudu and support development. Additionally the benefits of UBI are primarily for runtime/deployment usage and continuing to use CentOS for the development can simplify the build. This patch also required some small changes to how we generated the published image labels given the UBI images use a slightly different format than was previously handled. More can be read about RedHat UBI here: https://www.redhat.com/en/blog/introducing-red-hat-universal-base-image I tested building images with `--use-ubi` on both CentOS 7 and 8. Change-Id: I7be121c4ef8422d8aa7556aa163254b43c226b07 --- M docker/Dockerfile M docker/bootstrap-runtime-env.sh M docker/docker-build.py 3 files changed, 53 insertions(+), 17 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/64/17564/1 -- To view, visit http://gerrit.cloudera.org:8080/17564 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I7be121c4ef8422d8aa7556aa163254b43c226b07 Gerrit-Change-Number: 17564 Gerrit-PatchSet: 1 Gerrit-Owner: Grant Henke <granthe...@apache.org>