SpringBoot 2.3 introduced a feature to create OCI/Docker images by running ./gradlew bootBuildImage
instead of having a Dockerfile
and execute docker build .
When building on a Gitlab build server that is running inside a Kubernetes cluster there is no Docker daemon available though (no docker-in-docker service for security reasons). Instead images have to be build and uploaded using Google's "Kaniko" tool.
Is it possible to combine both somehow i.e. use "bootBuildImage" without a running Docker daemon?