{"action":"created","issue":{"url":"https://api.github.com/repos/Strider-CD/strider-docker-build/issues/15","labels_url":"https://api.github.com/repos/Strider-CD/strider-docker-build/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/Strider-CD/strider-docker-build/issues/15/comments","events_url":"https://api.github.com/repos/Strider-CD/strider-docker-build/issues/15/events","html_url":"https://github.com/Strider-CD/strider-docker-build/issues/15","id":56582138,"number":15,"title":" ENOENT, no such file or directory '/tmp/archive-docker-build-1423077557112.tar","user":{"login":"jasperla","id":637504,"avatar_url":"https://avatars.githubusercontent.com/u/637504?v=3","gravatar_id":"","url":"https://api.github.com/users/jasperla","html_url":"https://github.com/jasperla","followers_url":"https://api.github.com/users/jasperla/followers","following_url":"https://api.github.com/users/jasperla/following{/other_user}","gists_url":"https://api.github.com/users/jasperla/gists{/gist_id}","starred_url":"https://api.github.com/users/jasperla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasperla/subscriptions","organizations_url":"https://api.github.com/users/jasperla/orgs","repos_url":"https://api.github.com/users/jasperla/repos","events_url":"https://api.github.com/users/jasperla/events{/privacy}","received_events_url":"https://api.github.com/users/jasperla/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-04T20:23:47Z","updated_at":"2015-02-06T14:41:41Z","closed_at":null,"body":"Hi,\r\n\r\nI'm running into some issues trying to build a Docker image:\r\n\r\n```\r\nstrider stdout | 2015-02-04T19:19:18.659Z - info: Job 54d270b561247659009b8daa  domain error caught ENOENT, no such file or directory '/tmp/archive-docker-build-1423077557112.tar' Error: ENOENT, no such file or directory '/tmp/archive-docker-build-1423077557112.tar'\r\n    at Object.fs.openSync (fs.js:432:18)\r\n    at Object.fs.readFileSync (fs.js:286:15)\r\n    at Modem.dial (/opt/strider/src/node_modules/strider-docker-build/node_modules/dockerode/node_modules/docker-modem/lib/modem.js:117:17)\r\n    at Docker.buildImage (/opt/strider/src/node_modules/strider-docker-build/node_modules/dockerode/lib/docker.js:146:14)\r\n    at Object.prepare (/opt/strider/src/node_modules/strider-docker-build/lib/build.js:15:12)\r\n    at Object.runPlugin (/opt/strider/src/node_modules/strider-simple-runner/node_modules/strider-runner-core/lib/utils.js:26:25)\r\n    at /opt/strider/src/node_modules/strider-simple-runner/node_modules/strider-runner-core/lib/job.js:293:15\r\n    at /opt/strider/src/node_modules/strider-simple-runner/node_modules/strider-runner-core/node_modules/async/lib/async.js:551:21\r\n    at /opt/strider/src/node_modules/strider-simple-runner/node_modules/strider-runner-core/node_modules/async/lib/async.js:227:13\r\n    at iterate (/opt/strider/src/node_modules/strider-simple-runner/node_modules/strider-runner-core/node_modules/async/lib/async.js:134:13)\r\n    at /opt/strider/src/node_modules/strider-simple-runner/node_modules/strider-runner-core/node_modules/async/lib/async.js:145:25\r\n    at /opt/strider/src/node_modules/strider-simple-runner/node_modules/strider-runner-core/node_modules/async/lib/async.js:229:17\r\n    at /opt/strider/src/node_modules/strider-simple-runner/node_modules/strider-runner-core/node_modules/async/lib/async.js:556:34\r\n    at /opt/strider/src/node_modules/strider-git/worker.js:119:5\r\n    at ChildProcess.<anonymous> (/opt/strider/src/node_modules/strider-simple-runner/node_modules/strider-runner-core/lib/job.js:203:9)\r\n    at ChildProcess.EventEmitter.emit (events.js:98:17)\r\n    at Process.ChildProcess._handle.onexit (child_process.js:797:12)\r\nstrider stderr | 2015-02-04T19:19:18.659Z - error: Job 54d270b561247659009b8daa  ENOENT, no such file or directory '/tmp/archive-docker-build-1423077557112.tar' Error: ENOENT, no such file or directory '/tmp/archive-docker-build-1423077557112.tar'\r\n    at Object.fs.openSync (fs.js:432:18)\r\n    at Object.fs.readFileSync (fs.js:286:15)\r\n    at Modem.dial (/opt/strider/src/node_modules/strider-docker-build/node_modules/dockerode/node_modules/docker-modem/lib/modem.js:117:17)\r\n    at Docker.buildImage (/opt/strider/src/node_modules/strider-docker-build/node_modules/dockerode/lib/docker.js:146:14)\r\n    at Object.prepare (/opt/strider/src/node_modules/strider-docker-build/lib/build.js:15:12)\r\n    at Object.runPlugin (/opt/strider/src/node_modules/strider-simple-runner/node_modules/strider-runner-core/lib/utils.js:26:25)\r\n    at /opt/strider/src/node_modules/strider-simple-runner/node_modules/strider-runner-core/lib/job.js:293:15\r\n    at /opt/strider/src/node_modules/strider-simple-runner/node_modules/strider-runner-core/node_modules/async/lib/async.js:551:21\r\n    at /opt/strider/src/node_modules/strider-simple-runner/node_modules/strider-runner-core/node_modules/async/lib/async.js:227:13\r\n    at iterate (/opt/strider/src/node_modules/strider-simple-runner/node_modules/strider-runner-core/node_modules/async/lib/async.js:134:13)\r\n    at /opt/strider/src/node_modules/strider-simple-runner/node_modules/strider-runner-core/node_modules/async/lib/async.js:145:25\r\n    at /opt/strider/src/node_modules/strider-simple-runner/node_modules/strider-runner-core/node_modules/async/lib/async.js:229:17\r\n    at /opt/strider/src/node_modules/strider-simple-runner/node_modules/strider-runner-core/node_modules/async/lib/async.js:556:34\r\n    at /opt/strider/src/node_modules/strider-git/worker.js:119:5\r\n    at ChildProcess.<anonymous> (/opt/strider/src/node_modules/strider-simple-runner/node_modules/strider-runner-core/lib/job.js:203:9)\r\n    at ChildProcess.EventEmitter.emit (events.js:98:17)\r\n    at Process.ChildProcess._handle.onexit (child_process.js:797:12)\r\nstrider stdout | 2015-02-04T19:19:18.662Z - info: [runner:simple-runner] Job done with error. Project: jasperla/nginx Job ID: 54d270b561247659009b8daa\r\n```\r\n\r\nThis seems happens when I change the phase for Docker Build to 'prepare'"},"comment":{"url":"https://api.github.com/repos/Strider-CD/strider-docker-build/issues/comments/73245982","html_url":"https://github.com/Strider-CD/strider-docker-build/issues/15#issuecomment-73245982","issue_url":"https://api.github.com/repos/Strider-CD/strider-docker-build/issues/15","id":73245982,"user":{"login":"davemackintosh","id":1430657,"avatar_url":"https://avatars.githubusercontent.com/u/1430657?v=3","gravatar_id":"","url":"https://api.github.com/users/davemackintosh","html_url":"https://github.com/davemackintosh","followers_url":"https://api.github.com/users/davemackintosh/followers","following_url":"https://api.github.com/users/davemackintosh/following{/other_user}","gists_url":"https://api.github.com/users/davemackintosh/gists{/gist_id}","starred_url":"https://api.github.com/users/davemackintosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davemackintosh/subscriptions","organizations_url":"https://api.github.com/users/davemackintosh/orgs","repos_url":"https://api.github.com/users/davemackintosh/repos","events_url":"https://api.github.com/users/davemackintosh/events{/privacy}","received_events_url":"https://api.github.com/users/davemackintosh/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T14:41:41Z","updated_at":"2015-02-06T14:41:41Z","body":"there is a bug in this where if you select the prepare phase it doesn't run the default (where it creates the tar) this is due to a limitation in the Strider core that doesn't support multiple callbacks for each phase of the build.\r\n\r\nThe fix is to set it to environment or test"}}