Spark distributions available in spark website usually have a docker-image-tool.sh to generate spark docker images. This repository is heavily based on dockerfiles used by that cli, and aims to ease to build and publish spark images ready to run on kubernetes cluster.
You can build spark image using command below.
make build SPARK_VERSION=3.0.0
or you could publish directly to the registry.
make publish SPARK_VERSION=3.0.0
PS: you need to change DOCKER_REGISTRY
in Makefile.