gradle-docker
gradle-docker copied to clipboard
dockerfileZip filename by default conflicts with distribution plugin
Output of dockerfileZip task is called {project name}.zip by default. When docker plugin is used together with "distribution" plugin, they break eachother. The distribution plugin will output its zip file with the same name, which gets overwritten by the dockerfileZip. Workaround is the following build.gradle snippet:
dockerfileZip { baseName 'dockerfile' }
It would be nice though if this would be the default value.
I see, yeah that's reasonable. Want to provide a fix, @cskrabak ?
+1 here
Set archiveClassifier to keep the same name.