{"action":"closed","issue":{"url":"https://api.github.com/repos/webdevops/Dockerfile/issues/120","repository_url":"https://api.github.com/repos/webdevops/Dockerfile","labels_url":"https://api.github.com/repos/webdevops/Dockerfile/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/webdevops/Dockerfile/issues/120/comments","events_url":"https://api.github.com/repos/webdevops/Dockerfile/issues/120/events","html_url":"https://github.com/webdevops/Dockerfile/issues/120","id":167155614,"number":120,"title":"Setting CMD breaks running container","user":{"login":"jengo","id":1064021,"avatar_url":"https://avatars.githubusercontent.com/u/1064021?v=3","gravatar_id":"","url":"https://api.github.com/users/jengo","html_url":"https://github.com/jengo","followers_url":"https://api.github.com/users/jengo/followers","following_url":"https://api.github.com/users/jengo/following{/other_user}","gists_url":"https://api.github.com/users/jengo/gists{/gist_id}","starred_url":"https://api.github.com/users/jengo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jengo/subscriptions","organizations_url":"https://api.github.com/users/jengo/orgs","repos_url":"https://api.github.com/users/jengo/repos","events_url":"https://api.github.com/users/jengo/events{/privacy}","received_events_url":"https://api.github.com/users/jengo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/webdevops/Dockerfile/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-23T00:18:04Z","updated_at":"2016-09-09T20:45:11Z","closed_at":"2016-09-09T20:45:11Z","body":"I have a script that needs to be executed during container launch.  This is because it needs the environment variables set from chef.  After that, I can run my script and after run supervisord.\r\n\r\nHowever, as soon as I set CMD the container no longer functions and I get an error like:\r\n/bin/sh: 1: test.sh: not found\r\n\r\nI have tried changing the ENTRYPOINT in a dozen different ways and can't seem to find the right combo.\r\n\r\nJust for kicks, I tried using python:3.5-onbuild as my base image and what I was doing worked fine.  The difference between this is that the python container does not set an ENTRYPOINT.\r\n\r\nWhat can I do ?\r\n\r\n"}}
{"actor":{"display_login":"mblaschke"}}