how to build OCI images with additional packages using Spring Boot buildpack

Viewed 315

I am using Spring Boot with Gradle plugin https://docs.spring.io/spring-boot/docs/current/gradle-plugin/reference/htmlsingle/#build-image to build OCI images. This works fine for basic use case (web application packaged as jar inside image). I more customization for my images

  • use curl to download some packages
  • install and customize those packages inside image

How to configure gradle plugin to do those steps? Before migrating to OCI buildpacks, I had Dockerfile with bash commands. With buildpacks, I see no way to customize build so image will include additional software.

0 Answers
Related