https://kotlinlang.org logo
#build-tools
Title
# build-tools
j

Júlio Santos

09/22/2020, 5:37 PM
Has anyone used the docker-maven-plugin?
m

Matteo Mirk

09/23/2020, 7:49 AM
The one from Spotify? Yes we used it at work, but the maintainers have discontinued support and they suggest to use this one instead: https://github.com/spotify/dockerfile-maven The difference between the two is that
docker-maven-plugin
is configured through XML like most plugins, it generates a Dockerfile, copies artifacts and builds an image; on the other side
dockerfile-maven
is simpler because it reads an existing Dockerfile and just builds and pushes the image, depending on the phase you invoked.
j

Joe

09/23/2020, 2:29 PM
my prior company had migrated fro m the spotify one to the fabric8io one before the spotify one was discontinued, and was able to get it to work quite nicely for the needs at the time
6 Views