spring-attic / spring-native

Spring Native is now superseded by Spring Boot 3 official native support
https://docs.spring.io/spring-boot/docs/current/reference/html/native-image.html
Apache License 2.0
2.74k stars 355 forks source link

Docker file instead of buildpack ? #1649

Closed sajinsachidanand closed 2 years ago

sajinsachidanand commented 2 years ago

Is there anyway to build this image via dockerfile instead of buildpack? In CI CD this build image is looking for docker daemon and failing. We are only using kaniko for building image. Please lem me know any other alternative to solve this ?

sdeleuze commented 2 years ago

Nothing prevents this, but you will have to do it yourself. I guess you can leverage and customize https://www.graalvm.org/22.1/docs/getting-started/container-images/ to fit your needs.