Thanks. I’m actually in the process right now of trying out your plugin. My general lack of gradle awesomeness is holding be back a bit but I’m struggling though it.
I’m not quite sure I understand you comment about publishing plugins not being able to help? I thought that the publishing mechanism was an abstract concept and not really tied to any one method of publishing, instead there is a publishing plugin for maven/gradle and possibly other ones for other types of repositories (such as Docker). Is that not correct?
But I haven’t had any other responses to my question so I guess that at the very least, such a “docker publishing plugin” does not exist so I’ll just give up on that idea… no biggie.
But since I’ve made contact with you I might as well ask a more specific question about your plugin. I’m trying to build a docker container in our gradle build file. We’re using the distribution plugin and I would like to copy the contents of our distTar artifact into the container to a specific location. I can see that there is some discussion about this in your java-application plugin but I don’t think that’s going to work for us (it’s a bit too opinionated) so I’m just using the docker-remote-api plugin and trying to build the container by hand. Can you point me toward any example that actually takes the contents of distTar and expands that into the docker container being created with your plugin?