Review
Docker multi-stage builds would allow you to create an intermediary image where the concerns of installing the app would be isolated (gradle, etc) Once jar is built, you copy it over a simple java docker image for deployment into your docker target production runtime. You can build these images locally or through some CICD server.
Here's an exemple with Gradle
0 views0
Comments