Indra
Indra copied to clipboard
Indra on Java11 container
Building OCI container with maven jib plugin for java 11
- Spotify docker-maven-plugin removed, google jib maven plugin is used instead
- lots of simplifications in maven configuration, like no need of building a tar.gz dist anymore, this was a requirement to build the image with the former docker-maven-plugin
- now some configuration options can be overridden through maven profiles
- java 11 is used as the base image
- mvn clean package builds a docker image as before
- mvn clean package jib:build builds and push to the repo (if credentials are in place)