{"action":"created","issue":{"url":"https://api.github.com/repos/rhuss/docker-maven-plugin/issues/205","labels_url":"https://api.github.com/repos/rhuss/docker-maven-plugin/issues/205/labels{/name}","comments_url":"https://api.github.com/repos/rhuss/docker-maven-plugin/issues/205/comments","events_url":"https://api.github.com/repos/rhuss/docker-maven-plugin/issues/205/events","html_url":"https://github.com/rhuss/docker-maven-plugin/issues/205","id":91176294,"number":205,"title":"Enhance direct Dockerfile support","user":{"login":"rhuss","id":99080,"avatar_url":"https://avatars.githubusercontent.com/u/99080?v=3","gravatar_id":"","url":"https://api.github.com/users/rhuss","html_url":"https://github.com/rhuss","followers_url":"https://api.github.com/users/rhuss/followers","following_url":"https://api.github.com/users/rhuss/following{/other_user}","gists_url":"https://api.github.com/users/rhuss/gists{/gist_id}","starred_url":"https://api.github.com/users/rhuss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhuss/subscriptions","organizations_url":"https://api.github.com/users/rhuss/orgs","repos_url":"https://api.github.com/users/rhuss/repos","events_url":"https://api.github.com/users/rhuss/events{/privacy}","received_events_url":"https://api.github.com/users/rhuss/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-26T07:05:53Z","updated_at":"2015-08-20T13:26:53Z","closed_at":null,"body":"The following features should be added for a better experience when using Dockerfiles directly:\r\n\r\n* It should be possible to support multiple Dockerfiles (as Docker 1.6 does). The idea is to use `dockerFile` instead of `dockerFileDir` and the base directory is then set to the directory of this Dockerfile (if `dockerFileDir` is used, then the name of the dockerfile is supposed to be `Dockerfile`)\r\n* Allow variable substitution within Dockerfiles (as for other Maven resources).\r\n* Allows special variables for:\r\n  - `ADD_ASSEMBLY` will add the proper ADD statements for the assmbly\r\n* Allow the configuration of the assembly directory used during the build. See also #203 \r\n* Optional: Allow optimizations like compressing all subsequent RUN statements into a single RUN statement or so.\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rhuss/docker-maven-plugin/issues/comments/133006845","html_url":"https://github.com/rhuss/docker-maven-plugin/issues/205#issuecomment-133006845","issue_url":"https://api.github.com/repos/rhuss/docker-maven-plugin/issues/205","id":133006845,"user":{"login":"rhuss","id":99080,"avatar_url":"https://avatars.githubusercontent.com/u/99080?v=3","gravatar_id":"","url":"https://api.github.com/users/rhuss","html_url":"https://github.com/rhuss","followers_url":"https://api.github.com/users/rhuss/followers","following_url":"https://api.github.com/users/rhuss/following{/other_user}","gists_url":"https://api.github.com/users/rhuss/gists{/gist_id}","starred_url":"https://api.github.com/users/rhuss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhuss/subscriptions","organizations_url":"https://api.github.com/users/rhuss/orgs","repos_url":"https://api.github.com/users/rhuss/repos","events_url":"https://api.github.com/users/rhuss/events{/privacy}","received_events_url":"https://api.github.com/users/rhuss/received_events","type":"User","site_admin":false},"created_at":"2015-08-20T13:26:53Z","updated_at":"2015-08-20T13:26:53Z","body":"Yeah, but never tried it (and forgot about it again ;-). Thanks for the heads up. \r\n\r\nMight be an even more advance algorithm one could look at. However, with the plugin we are restricted for things which can be done via the Docker API (don't know whether docker-squash can do it)"}}