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

Publish Java native images #112

Open
4 tasks
niallthomson opened this issue Jan 10, 2023 · 1 comment
Open
4 tasks

Publish Java native images #112

niallthomson opened this issue Jan 10, 2023 · 1 comment

Comments

@niallthomson
Copy link
Collaborator

niallthomson commented Jan 10, 2023

With the migration to Spring Boot 3 its possible to take advantage of the improved native image story which provides better application startup time.

https://docs.spring.io/spring-boot/docs/current/reference/html/native-image.html

We should publish a set of parallel images that uses a native executable to provide a way to experiment with this developing method for building Java applications.

This will require several threads of work:

  • Investigate if all/some of the components work as native executables
  • Work to understand limitations (for example: OpenTelemetry Java agent is no longer usable)
  • Figure out minimal Dockerfile that can be used for native executables
  • Re-work image build scripts to account for building multiple images for the same component, where currently it is 1-to-1
@cybergeek9982
Copy link

I can contribute on this @niallthomson

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

2 participants