{"action":"created","issue":{"url":"https://api.github.com/repos/projectatomic/atomic-reactor/issues/335","labels_url":"https://api.github.com/repos/projectatomic/atomic-reactor/issues/335/labels{/name}","comments_url":"https://api.github.com/repos/projectatomic/atomic-reactor/issues/335/comments","events_url":"https://api.github.com/repos/projectatomic/atomic-reactor/issues/335/events","html_url":"https://github.com/projectatomic/atomic-reactor/pull/335","id":108120851,"number":335,"title":"Fix add_labels plugin for single-line dockerfiles","user":{"login":"david-martin","id":878251,"avatar_url":"https://avatars.githubusercontent.com/u/878251?v=3","gravatar_id":"","url":"https://api.github.com/users/david-martin","html_url":"https://github.com/david-martin","followers_url":"https://api.github.com/users/david-martin/followers","following_url":"https://api.github.com/users/david-martin/following{/other_user}","gists_url":"https://api.github.com/users/david-martin/gists{/gist_id}","starred_url":"https://api.github.com/users/david-martin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david-martin/subscriptions","organizations_url":"https://api.github.com/users/david-martin/orgs","repos_url":"https://api.github.com/users/david-martin/repos","events_url":"https://api.github.com/users/david-martin/events{/privacy}","received_events_url":"https://api.github.com/users/david-martin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-24T12:29:39Z","updated_at":"2015-09-24T13:33:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/projectatomic/atomic-reactor/pulls/335","html_url":"https://github.com/projectatomic/atomic-reactor/pull/335","diff_url":"https://github.com/projectatomic/atomic-reactor/pull/335.diff","patch_url":"https://github.com/projectatomic/atomic-reactor/pull/335.patch"},"body":"Fixes this error\r\n\r\n```\r\n2015-09-24 08:00:39,293 - atomic_reactor.build - DEBUG - using dockerfile:\r\nLABEL \"vcs_ref\"=\"407bf1790a8d119c5d0f55f247a558cade2cb050\"\r\nFROM nodejs:0.10\r\n\r\n2015-09-24 08:00:39,293 - atomic_reactor.core - INFO - building image 'fh-registry.usersys.redhat.com/fh-mbaas:2.0.3' from path '/tmp/tmp8Sbhps/source'\r\n2015-09-24 08:00:39,419 - atomic_reactor.build - DEBUG - build is submitted, waiting for it to finish\r\n2015-09-24 08:00:39,419 - atomic_reactor.util - INFO - wait_for_command\r\n2015-09-24 08:00:39,420 - atomic_reactor.util - DEBUG - Step 0 : LABEL \"vcs_ref\" \"407bf1790a8d119c5d0f55f247a558cade2cb050\"\r\n2015-09-24 08:00:39,420 - atomic_reactor.util - ERROR - {\"errorDetail\":{\"message\":\"Please provide a source image with `from` prior to commit\"},\"error\":\"Please provide a source image with `from` prior to commit\"}\r\n```\r\n\r\nIn this case I am relying on a base image that has `ONBUILD` and `CMD` statements to do all the heavywork, therefore my Dockerfile is minimal i.e.\r\n```Dockerfile\r\nFROM nodejs:0.10\r\n```"},"comment":{"url":"https://api.github.com/repos/projectatomic/atomic-reactor/issues/comments/142928294","html_url":"https://github.com/projectatomic/atomic-reactor/pull/335#issuecomment-142928294","issue_url":"https://api.github.com/repos/projectatomic/atomic-reactor/issues/335","id":142928294,"user":{"login":"twaugh","id":6985468,"avatar_url":"https://avatars.githubusercontent.com/u/6985468?v=3","gravatar_id":"","url":"https://api.github.com/users/twaugh","html_url":"https://github.com/twaugh","followers_url":"https://api.github.com/users/twaugh/followers","following_url":"https://api.github.com/users/twaugh/following{/other_user}","gists_url":"https://api.github.com/users/twaugh/gists{/gist_id}","starred_url":"https://api.github.com/users/twaugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twaugh/subscriptions","organizations_url":"https://api.github.com/users/twaugh/orgs","repos_url":"https://api.github.com/users/twaugh/repos","events_url":"https://api.github.com/users/twaugh/events{/privacy}","received_events_url":"https://api.github.com/users/twaugh/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T13:33:01Z","updated_at":"2015-09-24T13:33:01Z","body":"Good catch -- thanks for the fix.\r\n\r\nI only had one suggested change, above."}}