Replies: 1 comment 2 replies
-
The docker daemon isn't a requirement brought on by the Cloud Native Buildpacks project but instead the "platform" which in this case is the Spring Boot maven plugin. You may want to consider reaching out to the maintainers of the plugin to see what options are available. Alternatively, there are other options to the Spring Boot maven plugin to leverage buildpacks (that would yield the same result). For example, if you are using OpenShift then maybe more k8s native solutions like kpack or Tekton pipeline are the way to go. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Through Spring Boot we are using Cloud Native Buildpacks to create OCI images for our Spring Boot applications. This way we can create properly layered images without separately maintaining Dockerfiles.
However, as our organization adopts OpenShift, we will soon no longer be able to use
Docker-in-Docker
in our GitLab runners, to access the required Docker daemon.Would it be possible to drop the Docker daemon requirement when creating images for Spring Boot applications?
I know there are similar tools out there that do not require elevated privileges or Dind to create images such as Jib and Kaniko, so in theory it could be possible. I do realize however that it might be quite the undertaking, so see this as a question for a some day maybe feature, rather than short term expectation. :)
Beta Was this translation helpful? Give feedback.
All reactions