{"action":"created","issue":{"url":"https://api.github.com/repos/imagemin/optipng-bin/issues/57","labels_url":"https://api.github.com/repos/imagemin/optipng-bin/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/imagemin/optipng-bin/issues/57/comments","events_url":"https://api.github.com/repos/imagemin/optipng-bin/issues/57/events","html_url":"https://github.com/imagemin/optipng-bin/issues/57","id":71818075,"number":57,"title":"fails inside a docker container","user":{"login":"dciccale","id":539546,"avatar_url":"https://avatars.githubusercontent.com/u/539546?v=3","gravatar_id":"","url":"https://api.github.com/users/dciccale","html_url":"https://github.com/dciccale","followers_url":"https://api.github.com/users/dciccale/followers","following_url":"https://api.github.com/users/dciccale/following{/other_user}","gists_url":"https://api.github.com/users/dciccale/gists{/gist_id}","starred_url":"https://api.github.com/users/dciccale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dciccale/subscriptions","organizations_url":"https://api.github.com/users/dciccale/orgs","repos_url":"https://api.github.com/users/dciccale/repos","events_url":"https://api.github.com/users/dciccale/events{/privacy}","received_events_url":"https://api.github.com/users/dciccale/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-29T08:51:55Z","updated_at":"2015-04-29T09:35:31Z","closed_at":"2015-04-29T09:35:31Z","body":"fails inside a docker container created from `node:latest`\r\n\r\n```bash\r\nroot@d06adbb5fa5c:/home/app# gulp imagemin\r\n[07:45:43] Using gulpfile /home/app/gulpfile.js\r\n[07:45:43] Starting 'imagemin'...\r\n\r\nevents.js:85\r\n      throw er; // Unhandled 'error' event\r\n            ^\r\nError: Command failed: /home/app/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/vendor/optipng -strip all -clobber -force -fix -o 2 -out /tmp/d3fd1a87-7e45-4d50-bf61-30c1c6911a31 /tmp/4a577168-c7f5-4eac-8fc8-44944cee6894\r\n/home/app/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/vendor/optipng: 6: /home/app/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/vendor/optipng: Syntax error: newline unexpected\r\n\r\n    at ChildProcess.exithandler (child_process.js:751:12)\r\n    at ChildProcess.emit (events.js:110:17)\r\n    at maybeClose (child_process.js:1015:16)\r\n    at Socket.<anonymous> (child_process.js:1183:11)\r\n    at Socket.emit (events.js:107:17)\r\n    at Pipe.close (net.js:485:12)\r\n```"},"comment":{"url":"https://api.github.com/repos/imagemin/optipng-bin/issues/comments/97369932","html_url":"https://github.com/imagemin/optipng-bin/issues/57#issuecomment-97369932","issue_url":"https://api.github.com/repos/imagemin/optipng-bin/issues/57","id":97369932,"user":{"login":"dciccale","id":539546,"avatar_url":"https://avatars.githubusercontent.com/u/539546?v=3","gravatar_id":"","url":"https://api.github.com/users/dciccale","html_url":"https://github.com/dciccale","followers_url":"https://api.github.com/users/dciccale/followers","following_url":"https://api.github.com/users/dciccale/following{/other_user}","gists_url":"https://api.github.com/users/dciccale/gists{/gist_id}","starred_url":"https://api.github.com/users/dciccale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dciccale/subscriptions","organizations_url":"https://api.github.com/users/dciccale/orgs","repos_url":"https://api.github.com/users/dciccale/repos","events_url":"https://api.github.com/users/dciccale/events{/privacy}","received_events_url":"https://api.github.com/users/dciccale/received_events","type":"User","site_admin":false},"created_at":"2015-04-29T09:35:31Z","updated_at":"2015-04-29T09:35:31Z","body":"i updated npm inside the container and re-installed imagemin dep and it worked thx "}}