Skip to content
This repository was archived by the owner on Apr 9, 2025. It is now read-only.

Conversation

@leonardossz
Copy link
Contributor

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)

+ Removed __unused__ maven integration test plugin which was using jaxb-rt (failsafe-plugin)
+ Server shutdown improved a bit
+ Updated README.md
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, no need of building a tar.gz dist anymore, it was a requirement to build the image with the former docker-maven-plugin
+ now some configuration options can be overriden through maven profiles
+ java 11 is used as base image
+ mvn clean package builds a new image as before
+ mvn clean package jib:build builds and push to the repo (if credentials are in place)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant