Skip to content

zncdatadev/containers

Repository files navigation

ZNCDataDev Containers

This repository contains the Dockerfiles for the ZNCDataDev containers.

Build airflow Build dolphinscheduler Build go-devel Build hadoop
Build hbase Build hive Build java-base Build java-devel
Build kafka Build krb5 Build kubedoop-base Build nifi
Build spark-k8s Build superset Build testing-tools Build tools
Build trino Build zookeeper

Usage

Setup docker with buildx

TODO: ref docker doc

Build

Use the build.sh script to build the images.

The following command will build the hadoop:3.3.4 and all variants of the zookeeper image.

./.scripts/build.sh hadoop:3.3.4 zookeeper

Build and push

When enable push, multiple-arch images will be built and pushed to the registry.

./.scripts/build.sh hadoop:3.3.4 --push

Build and push with sign

When enable sign, the cosign tool should be installed and the image will be signed.

./.scripts/build.sh hadoop:3.3.4 --push --sign

Set the registry and version

The build.sh script use environment variables to set the registry and version.

export REGISTRY=registry.example.com/zncdatadev
export KUBEDOOP_VERSION=0.1.0
./scripts/build.sh kubedoop-base --push