{"action":"created","issue":{"url":"https://api.github.com/repos/docker/compose/issues/1554","labels_url":"https://api.github.com/repos/docker/compose/issues/1554/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/1554/comments","events_url":"https://api.github.com/repos/docker/compose/issues/1554/events","html_url":"https://github.com/docker/compose/issues/1554","id":88564578,"number":1554,"title":"`build` fails on component non-zero exit code when `docker build` does not","user":{"login":"timfallmk","id":5316117,"avatar_url":"https://avatars.githubusercontent.com/u/5316117?v=3","gravatar_id":"","url":"https://api.github.com/users/timfallmk","html_url":"https://github.com/timfallmk","followers_url":"https://api.github.com/users/timfallmk/followers","following_url":"https://api.github.com/users/timfallmk/following{/other_user}","gists_url":"https://api.github.com/users/timfallmk/gists{/gist_id}","starred_url":"https://api.github.com/users/timfallmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timfallmk/subscriptions","organizations_url":"https://api.github.com/users/timfallmk/orgs","repos_url":"https://api.github.com/users/timfallmk/repos","events_url":"https://api.github.com/users/timfallmk/events{/privacy}","received_events_url":"https://api.github.com/users/timfallmk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-15T23:13:51Z","updated_at":"2015-12-14T19:17:29Z","closed_at":"2015-06-16T05:15:38Z","body":"Running `docker-compose build --no-cache` will fail if one of the Dockerfile commands returns a non-zero exit code. However running `docker build --no-cache` will return successfully in the same condition.\r\n\r\nExample:\r\nDockerfile has command `RUN npm install libxmljs`:\r\n\r\n`npm` will return `code 137` (a warning) from this command\r\n\r\n`docker-compose` will exit at this stage while `docker` does not.\r\n\r\nI can provide more details of the builds if necessary."},"comment":{"url":"https://api.github.com/repos/docker/compose/issues/comments/164530978","html_url":"https://github.com/docker/compose/issues/1554#issuecomment-164530978","issue_url":"https://api.github.com/repos/docker/compose/issues/1554","id":164530978,"user":{"login":"chruit","id":8250643,"avatar_url":"https://avatars.githubusercontent.com/u/8250643?v=3","gravatar_id":"","url":"https://api.github.com/users/chruit","html_url":"https://github.com/chruit","followers_url":"https://api.github.com/users/chruit/followers","following_url":"https://api.github.com/users/chruit/following{/other_user}","gists_url":"https://api.github.com/users/chruit/gists{/gist_id}","starred_url":"https://api.github.com/users/chruit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chruit/subscriptions","organizations_url":"https://api.github.com/users/chruit/orgs","repos_url":"https://api.github.com/users/chruit/repos","events_url":"https://api.github.com/users/chruit/events{/privacy}","received_events_url":"https://api.github.com/users/chruit/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T19:17:29Z","updated_at":"2015-12-14T19:17:29Z","body":"This error can also be recreated by removing a container from the Kitematic interface.  "}}