{"action":"created","issue":{"url":"https://api.github.com/repos/CloudSlang/CloudSlang-Docker-Image/issues/8","labels_url":"https://api.github.com/repos/CloudSlang/CloudSlang-Docker-Image/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/CloudSlang/CloudSlang-Docker-Image/issues/8/comments","events_url":"https://api.github.com/repos/CloudSlang/CloudSlang-Docker-Image/issues/8/events","html_url":"https://github.com/CloudSlang/CloudSlang-Docker-Image/pull/8","id":124575260,"number":8,"title":"Docker Image improvements","user":{"login":"mbettan","id":14251830,"avatar_url":"https://avatars.githubusercontent.com/u/14251830?v=3","gravatar_id":"","url":"https://api.github.com/users/mbettan","html_url":"https://github.com/mbettan","followers_url":"https://api.github.com/users/mbettan/followers","following_url":"https://api.github.com/users/mbettan/following{/other_user}","gists_url":"https://api.github.com/users/mbettan/gists{/gist_id}","starred_url":"https://api.github.com/users/mbettan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbettan/subscriptions","organizations_url":"https://api.github.com/users/mbettan/orgs","repos_url":"https://api.github.com/users/mbettan/repos","events_url":"https://api.github.com/users/mbettan/events{/privacy}","received_events_url":"https://api.github.com/users/mbettan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CloudSlang/CloudSlang-Docker-Image/labels/contributor","name":"contributor","color":"fbca04"},{"url":"https://api.github.com/repos/CloudSlang/CloudSlang-Docker-Image/labels/ready%20for%20merge","name":"ready for merge","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"Bonczidai","id":8058961,"avatar_url":"https://avatars.githubusercontent.com/u/8058961?v=3","gravatar_id":"","url":"https://api.github.com/users/Bonczidai","html_url":"https://github.com/Bonczidai","followers_url":"https://api.github.com/users/Bonczidai/followers","following_url":"https://api.github.com/users/Bonczidai/following{/other_user}","gists_url":"https://api.github.com/users/Bonczidai/gists{/gist_id}","starred_url":"https://api.github.com/users/Bonczidai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bonczidai/subscriptions","organizations_url":"https://api.github.com/users/Bonczidai/orgs","repos_url":"https://api.github.com/users/Bonczidai/repos","events_url":"https://api.github.com/users/Bonczidai/events{/privacy}","received_events_url":"https://api.github.com/users/Bonczidai/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/CloudSlang/CloudSlang-Docker-Image/milestones/5","html_url":"https://github.com/CloudSlang/CloudSlang-Docker-Image/milestones/1.0%20-%20sprint%202","labels_url":"https://api.github.com/repos/CloudSlang/CloudSlang-Docker-Image/milestones/5/labels","id":1484514,"number":5,"title":"1.0 - sprint 2","description":"","creator":{"login":"Bonczidai","id":8058961,"avatar_url":"https://avatars.githubusercontent.com/u/8058961?v=3","gravatar_id":"","url":"https://api.github.com/users/Bonczidai","html_url":"https://github.com/Bonczidai","followers_url":"https://api.github.com/users/Bonczidai/followers","following_url":"https://api.github.com/users/Bonczidai/following{/other_user}","gists_url":"https://api.github.com/users/Bonczidai/gists{/gist_id}","starred_url":"https://api.github.com/users/Bonczidai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bonczidai/subscriptions","organizations_url":"https://api.github.com/users/Bonczidai/orgs","repos_url":"https://api.github.com/users/Bonczidai/repos","events_url":"https://api.github.com/users/Bonczidai/events{/privacy}","received_events_url":"https://api.github.com/users/Bonczidai/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2016-01-05T10:55:03Z","updated_at":"2016-01-05T10:55:09Z","due_on":"2016-01-17T22:00:00Z","closed_at":null},"comments":9,"created_at":"2016-01-02T04:47:33Z","updated_at":"2016-01-06T13:27:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CloudSlang/CloudSlang-Docker-Image/pulls/8","html_url":"https://github.com/CloudSlang/CloudSlang-Docker-Image/pull/8","diff_url":"https://github.com/CloudSlang/CloudSlang-Docker-Image/pull/8.diff","patch_url":"https://github.com/CloudSlang/CloudSlang-Docker-Image/pull/8.patch"},"body":"Hello all,\r\n\r\nI made improvements on Dockerfile for building CloudSlang image. In y opinion, old image was not usable as it is for a CloudSlang developpers as many things were missing. It should provide a simple and ready-to-use Docker image\r\n\r\nBelow are the improvements \r\n- Adding Python and pip library - It's a must have for CloudSlang developpers\r\n- Adding addtionals tools for CloudSlang content author : ssh access, emacs, vim, git client, \r\n- Git clone to fetch the last content repository withing the main folder and adding .git folder correctly to allow the user to directly git pull from the main repository. Btw, it also added missing tests folder\r\n- Rebuilding last python depenendencies with pip install command\r\n- Entrypoints was changed to CMD to avoid override by end user\r\n- When starting the container, it's starting now cSlang CLI (as before), but also ssh server for allowing the end user to access it, 22 port was exposed and cslang root password was configured\r\n- Changing Maintainer name, its not relevant to specify a name here, only cloudslang team\r\n\r\nNote it's important to document that the default password for SSH is now cslang\r\n\r\nFor your information, @FlorianJDF  and I are currently building a POC content for CloudSlang which will be also a Docker image with additional POC use cases contents. This POC Docker image will rely on this Docker parent image, so efforts will be minimum if this pull request is approved quickly. This initiative was discussed with @gfachler \r\n\r\nFuture improvements to discuss \r\n- Docker Volume to have cslang folder external (due to ephemeral container design, docker kill won't commit any changes from CloudSlang users)\r\n-Parent image rely only on debian, it would be good to rely on other systems like centos. Why not rebuilding the parent image inside our Docker image\r\n- Add supervisor to launch multi entrypoints, instead of start script\r\n- Git configured for current cslang folder rely on the official repository, it would be good to easy allow the end user to rely on his fork. Then, it will be allow cslang user to push his code.\r\n- Add more IDEs for Linux with cslang plugin (Atom ? Sublime text ?)\r\n\r\nSigned-off-by: Michaël Bettan <mbe@hpe.com>"},"comment":{"url":"https://api.github.com/repos/CloudSlang/CloudSlang-Docker-Image/issues/comments/169322502","html_url":"https://github.com/CloudSlang/CloudSlang-Docker-Image/pull/8#issuecomment-169322502","issue_url":"https://api.github.com/repos/CloudSlang/CloudSlang-Docker-Image/issues/8","id":169322502,"user":{"login":"Bonczidai","id":8058961,"avatar_url":"https://avatars.githubusercontent.com/u/8058961?v=3","gravatar_id":"","url":"https://api.github.com/users/Bonczidai","html_url":"https://github.com/Bonczidai","followers_url":"https://api.github.com/users/Bonczidai/followers","following_url":"https://api.github.com/users/Bonczidai/following{/other_user}","gists_url":"https://api.github.com/users/Bonczidai/gists{/gist_id}","starred_url":"https://api.github.com/users/Bonczidai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bonczidai/subscriptions","organizations_url":"https://api.github.com/users/Bonczidai/orgs","repos_url":"https://api.github.com/users/Bonczidai/repos","events_url":"https://api.github.com/users/Bonczidai/events{/privacy}","received_events_url":"https://api.github.com/users/Bonczidai/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T13:27:25Z","updated_at":"2016-01-06T13:27:25Z","body":"providing two docker images may be a good idea - we could have a thin docker image (as today) for `prod` (new users to try out) and another one (as this PR) for `dev` which would contain all the necessary heavyweight stuff (and would use the `prod` image as base image) -- of course this means more maintenance\r\n\r\nWDYT?"}}