cp-docker-images icon indicating copy to clipboard operation
cp-docker-images copied to clipboard

How to build Rhel/Centos docker image for confluent kafka/ zookeeper/schema registry /kafka connect

Open himmatb opened this issue 5 years ago • 5 comments

There is lot of vulnerabilities scaned in debian version of docker images of confluent kafka.. As per our company's security recommendation, they are not allowing to use these images..

Can anyone help me out to build docker images based on rhel for all confluent kafka, with process or docker image.. Didnt fond a way to start building images for that..

Help will be appreciated!!

himmatb avatar Jan 24 '19 14:01 himmatb

Build from the Dockerfile.rpm files. https://github.com/confluentinc/cp-docker-images/blob/5.1.0-post/debian/base/Dockerfile.rpm#L15

OneCricketeer avatar Jan 29 '19 04:01 OneCricketeer

what will be value in base docker file "$CONFLUENT_MAJOR_VERSION.$CONFLUENT_MINOR_VERSION.$CONFLUENT_PATCH_VERSION" is there any confluent document available for these specific versions.

himmatb avatar Jan 29 '19 06:01 himmatb

is there any confluent document available for these specific versions

Yes, the Confluent Platform release notes. 5.1.0, for example.

You can also try the build script here for all containers - https://github.com/confluentinc/cp-docker-images/blob/5.1.0-post/bin/build-debian (even though it says Debian, you'll see rpm docker files used inside)

OneCricketeer avatar Jan 29 '19 06:01 OneCricketeer

Thanks ..

himmatb avatar Feb 04 '19 18:02 himmatb

I was able to build CentOS images using makefile, e.g. make build-debian COMPONENTS='base zookeeper kafka enterprise-kafka'

Make sure you have maven version >3.2 installed.

Dragsaw avatar Dec 03 '19 09:12 Dragsaw