Skip to content

Get rid of Docker daemon or even podman service in Maven spring-boot:build-image goal #42717

Closed as not planned
@FredPraca

Description

@FredPraca

In the case of CI/CD, we don't have a Docker daemon and don't want to turn one on in our Gitlab-runners and just want to rely on a standard Maven OCI image.
At the moment, using mvn spring-boot:build-image requires having a docker daemon running whereas Jib doesn't and run easily in our runners.
As we are also running into trouble with Jib when adding custom CA certificates to our image, Buildpacks and its ca-certificates pack is great and works perfectly on developer laptops.

Getting rid of docker would be great.
Using Buildpack lifecycle as described in this workaround can be a workaround but in this case, we don't use Maven plugin at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: declinedA suggestion or change that we don't feel we should currently apply

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions