Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to Spring Boot's Cloud Native Buildpack support. #27434

Open
5 tasks
mshima opened this issue Sep 28, 2024 · 0 comments
Open
5 tasks

Migrate to Spring Boot's Cloud Native Buildpack support. #27434

mshima opened this issue Sep 28, 2024 · 0 comments

Comments

@mshima
Copy link
Member

mshima commented Sep 28, 2024

Overview of the feature request

We use jib for docker support, would be nice to move to Cloud Native Buildpacks.

There a discussion in #26527

Recent issues with jib like spring-devtools and spring-boot-compose made me realize we need to move to Cloud Native Buildpacks.

I’ve implemented #27348 which switches CI to Buildpacks.
But made realize there is no way to support both due to healthcheck changes. Unless we customize jib to add healthcheck matching Buildpacks one.

Pros:

  • official Spring Boot support
  • out of the box arm64 support (without custom script)
  • features like CDS
  • no spring devtools workaround
  • no spring boot compose workaround

cons:

  • slower
  • Spring Boot only

And we do have jib instructions harcoded everywhere like deployment generators.

Migration consists in:

  • move npm scripts from postInstall to preparing application.
  • templates should read from npm scripts instead of hardcoded.
  • keep jib generator for micronaut support
  • maybe allow existing applications to keep jib?
Motivation for or Use Case
Related issues or PR
  • Checking this box is mandatory (this is just to show you read everything)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant