{"action":"created","issue":{"url":"https://api.github.com/repos/yelizariev/odoo-saas-tools-docker/issues/2","repository_url":"https://api.github.com/repos/yelizariev/odoo-saas-tools-docker","labels_url":"https://api.github.com/repos/yelizariev/odoo-saas-tools-docker/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/yelizariev/odoo-saas-tools-docker/issues/2/comments","events_url":"https://api.github.com/repos/yelizariev/odoo-saas-tools-docker/issues/2/events","html_url":"https://github.com/yelizariev/odoo-saas-tools-docker/issues/2","id":134565663,"number":2,"title":"Create the docker file","user":{"login":"coodec","id":15266775,"avatar_url":"https://avatars.githubusercontent.com/u/15266775?v=3","gravatar_id":"","url":"https://api.github.com/users/coodec","html_url":"https://github.com/coodec","followers_url":"https://api.github.com/users/coodec/followers","following_url":"https://api.github.com/users/coodec/following{/other_user}","gists_url":"https://api.github.com/users/coodec/gists{/gist_id}","starred_url":"https://api.github.com/users/coodec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coodec/subscriptions","organizations_url":"https://api.github.com/users/coodec/orgs","repos_url":"https://api.github.com/users/coodec/repos","events_url":"https://api.github.com/users/coodec/events{/privacy}","received_events_url":"https://api.github.com/users/coodec/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-18T12:17:23Z","updated_at":"2016-02-18T12:22:16Z","closed_at":null,"body":"Hi, I'll start commenting on the lines of installation so we can start builing the Docker image.\r\n\r\nexport SYSTEM=''\r\npidof systemd && export SYSTEM='systemd' \r\n[[ -z $SYSTEM ]] && whereis upstart | grep -q 'upstart: /' && export SYSTEM='upstart'\r\n[[ -z $SYSTEM ]] &&  export SYSTEM='supervisor'\r\necho \"SYSTEM=$SYSTEM\"\r\n\r\n #### CHECK AND UPDATE LANGUAGE\r\n env | grep LANG\r\n\r\n export LANG=en_US.UTF-8\r\n export LANGUAGE=en_US.UTF-8\r\n dpkg-reconfigure locales\r\n\r\nAs it's a Docker image, the above is not needed.\r\n\r\napt-get install -y git python-pip htop postgresql sudo moreutils tree\r\n\r\nI think it should be just:\r\n\r\napt-get install python-pip moreutils tree\r\n\r\ngit, htop, sudo are not needed.\r\n\r\npostgresql should be used with the postgres image.\r\n\r\nI don't know if moreutils and tree are used in the code, but If not, they are not needed in the Docker image.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/yelizariev/odoo-saas-tools-docker/issues/comments/185694609","html_url":"https://github.com/yelizariev/odoo-saas-tools-docker/issues/2#issuecomment-185694609","issue_url":"https://api.github.com/repos/yelizariev/odoo-saas-tools-docker/issues/2","id":185694609,"user":{"login":"coodec","id":15266775,"avatar_url":"https://avatars.githubusercontent.com/u/15266775?v=3","gravatar_id":"","url":"https://api.github.com/users/coodec","html_url":"https://github.com/coodec","followers_url":"https://api.github.com/users/coodec/followers","following_url":"https://api.github.com/users/coodec/following{/other_user}","gists_url":"https://api.github.com/users/coodec/gists{/gist_id}","starred_url":"https://api.github.com/users/coodec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coodec/subscriptions","organizations_url":"https://api.github.com/users/coodec/orgs","repos_url":"https://api.github.com/users/coodec/repos","events_url":"https://api.github.com/users/coodec/events{/privacy}","received_events_url":"https://api.github.com/users/coodec/received_events","type":"User","site_admin":false},"created_at":"2016-02-18T12:22:16Z","updated_at":"2016-02-18T12:22:16Z","body":"[[ \"$SYSTEM\" == \"supervisor\" ]] && apt-get install supervisor\r\n\r\nI don't know how supervisor is used so I can't say if it's need on the docker image or not."}}