{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/12749","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/12749/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/12749/comments","events_url":"https://api.github.com/repos/docker/docker/issues/12749/events","html_url":"https://github.com/docker/docker/pull/12749","id":70714824,"number":12749,"title":"Support INCLUDE in Dockerfiles","user":{"login":"duglin","id":1944671,"avatar_url":"https://avatars2.githubusercontent.com/u/1944671?v=3","gravatar_id":"","url":"https://api.github.com/users/duglin","html_url":"https://github.com/duglin","followers_url":"https://api.github.com/users/duglin/followers","following_url":"https://api.github.com/users/duglin/following{/other_user}","gists_url":"https://api.github.com/users/duglin/gists{/gist_id}","starred_url":"https://api.github.com/users/duglin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duglin/subscriptions","organizations_url":"https://api.github.com/users/duglin/orgs","repos_url":"https://api.github.com/users/duglin/repos","events_url":"https://api.github.com/users/duglin/events{/privacy}","received_events_url":"https://api.github.com/users/duglin/received_events","type":"User","site_admin":false},"labels":[{"id":175375318,"url":"https://api.github.com/repos/docker/docker/labels/status/1-design-review","name":"status/1-design-review","color":"fef2c0","default":false},{"id":194268680,"url":"https://api.github.com/repos/docker/docker/labels/status/needs-attention","name":"status/needs-attention","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":{"login":"tiborvass","id":827131,"avatar_url":"https://avatars1.githubusercontent.com/u/827131?v=3","gravatar_id":"","url":"https://api.github.com/users/tiborvass","html_url":"https://github.com/tiborvass","followers_url":"https://api.github.com/users/tiborvass/followers","following_url":"https://api.github.com/users/tiborvass/following{/other_user}","gists_url":"https://api.github.com/users/tiborvass/gists{/gist_id}","starred_url":"https://api.github.com/users/tiborvass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiborvass/subscriptions","organizations_url":"https://api.github.com/users/tiborvass/orgs","repos_url":"https://api.github.com/users/tiborvass/repos","events_url":"https://api.github.com/users/tiborvass/events{/privacy}","received_events_url":"https://api.github.com/users/tiborvass/received_events","type":"User","site_admin":false},"assignees":[{"login":"tiborvass","id":827131,"avatar_url":"https://avatars1.githubusercontent.com/u/827131?v=3","gravatar_id":"","url":"https://api.github.com/users/tiborvass","html_url":"https://github.com/tiborvass","followers_url":"https://api.github.com/users/tiborvass/followers","following_url":"https://api.github.com/users/tiborvass/following{/other_user}","gists_url":"https://api.github.com/users/tiborvass/gists{/gist_id}","starred_url":"https://api.github.com/users/tiborvass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiborvass/subscriptions","organizations_url":"https://api.github.com/users/tiborvass/orgs","repos_url":"https://api.github.com/users/tiborvass/repos","events_url":"https://api.github.com/users/tiborvass/events{/privacy}","received_events_url":"https://api.github.com/users/tiborvass/received_events","type":"User","site_admin":false}],"milestone":null,"comments":64,"created_at":"2015-04-24T15:12:39Z","updated_at":"2017-03-16T22:13:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/12749","html_url":"https://github.com/docker/docker/pull/12749","diff_url":"https://github.com/docker/docker/pull/12749.diff","patch_url":"https://github.com/docker/docker/pull/12749.patch"},"body":"Note that as of now this is just a syntax feature. Meaning it just pulls\nin the included Dockerfile and continues parsing. If the target Dockerfile\nhas a FROM then it is processed and new image will be created.\n\nOnce #10775 is merged, I'd like to add a flag like:\n   INCLUDE --no-from ...\nwhich will tell it to skip the FROM so that the modifications will be done\nwithin the same/current image.\n\nAlso, note that you can do:  INLCUDE myfile.${foo}\n\nCloses: #735\n\nSigned-off-by: Doug Davis dug@us.ibm.com\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/287207051","html_url":"https://github.com/docker/docker/pull/12749#issuecomment-287207051","issue_url":"https://api.github.com/repos/docker/docker/issues/12749","id":287207051,"user":{"login":"duglin","id":1944671,"avatar_url":"https://avatars2.githubusercontent.com/u/1944671?v=3","gravatar_id":"","url":"https://api.github.com/users/duglin","html_url":"https://github.com/duglin","followers_url":"https://api.github.com/users/duglin/followers","following_url":"https://api.github.com/users/duglin/following{/other_user}","gists_url":"https://api.github.com/users/duglin/gists{/gist_id}","starred_url":"https://api.github.com/users/duglin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duglin/subscriptions","organizations_url":"https://api.github.com/users/duglin/orgs","repos_url":"https://api.github.com/users/duglin/repos","events_url":"https://api.github.com/users/duglin/events{/privacy}","received_events_url":"https://api.github.com/users/duglin/received_events","type":"User","site_admin":false},"created_at":"2017-03-16T22:13:05Z","updated_at":"2017-03-16T22:13:05Z","body":"@thaJeztah can you elaborate on the \"context\" issue you mentioned?  I'm envisioning this being used in cases like this:\r\n```\r\n...\r\n# We need to install a program\r\nINCLUDE getMyInstaller${ARCH}\r\n...\r\n```"}}
{"actor":{"display_login":"duglin"}}