Has anyone used the docker-maven-plugin?
# build-tools
j
Has anyone used the docker-maven-plugin?
m
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
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