Skip to content

Improve docker without buildpacks documentation #42106

@philwebb

Description

@philwebb

From Reddit

I'm happy about the progress Spring Boot has made on CDS support in the last year. However, their documentation about assembling container images has always suffered from a bit of draw-the-rest-of-the-owl syndrome and I think the current version is still at best redundant and at worst inconsistent. Namely, https://docs.spring.io/spring-boot/reference/packaging/container-images/dockerfiles.html doesn't really work with https://docs.spring.io/spring-boot/reference/packaging/class-data-sharing.html and doesn't even seem all that relevant now.

Perhaps buildpacks have a way of leveraging both segregated layering and CDS in a way that doesn't devolve into the default jarmode=tools extraction mode. But I can't use buildpacks and I'm not sure I'd really want to if I could, so all their "buildpacks do this for you" convenience just ends up being noise.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions