{"action":"created","comment":{"url":"https://api.github.com/repos/cvmfs/monitor/pulls/comments/45067040","id":45067040,"diff_hunk":"@@ -0,0 +1,16 @@\n+FROM centos:7\n+MAINTAINER Jose Molina <jose.molina@cern.ch>\n+\n+RUN yum install epel-release -y\n+RUN yum install httpd python-pip gcc git swig mod_wsgi openssl wget python-devel openssl-devel -y\n+RUN pip install --upgrade pip","path":"Dockerfile","position":6,"original_position":6,"commit_id":"d85df840e9e8a660c1d2238a99cd77b4201a521b","original_commit_id":"d85df840e9e8a660c1d2238a99cd77b4201a521b","user":{"login":"reneme","id":1562139,"avatar_url":"https://avatars.githubusercontent.com/u/1562139?v=3","gravatar_id":"","url":"https://api.github.com/users/reneme","html_url":"https://github.com/reneme","followers_url":"https://api.github.com/users/reneme/followers","following_url":"https://api.github.com/users/reneme/following{/other_user}","gists_url":"https://api.github.com/users/reneme/gists{/gist_id}","starred_url":"https://api.github.com/users/reneme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reneme/subscriptions","organizations_url":"https://api.github.com/users/reneme/orgs","repos_url":"https://api.github.com/users/reneme/repos","events_url":"https://api.github.com/users/reneme/events{/privacy}","received_events_url":"https://api.github.com/users/reneme/received_events","type":"User","site_admin":false},"body":"Might be a superstition, but I read that it is a good idea to group multiple `RUN` statements into a single one. This produces less image layers and is supposed to gain some performance.","created_at":"2015-11-17T14:44:21Z","updated_at":"2015-11-17T14:44:21Z","html_url":"https://github.com/cvmfs/monitor/pull/2#discussion_r45067040","pull_request_url":"https://api.github.com/repos/cvmfs/monitor/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/cvmfs/monitor/pulls/comments/45067040"},"html":{"href":"https://github.com/cvmfs/monitor/pull/2#discussion_r45067040"},"pull_request":{"href":"https://api.github.com/repos/cvmfs/monitor/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/cvmfs/monitor/pulls/2","id":50642786,"html_url":"https://github.com/cvmfs/monitor/pull/2","diff_url":"https://github.com/cvmfs/monitor/pull/2.diff","patch_url":"https://github.com/cvmfs/monitor/pull/2.patch","issue_url":"https://api.github.com/repos/cvmfs/monitor/issues/2","number":2,"state":"open","locked":false,"title":"Dockerization","user":{"login":"Moliholy","id":2722756,"avatar_url":"https://avatars.githubusercontent.com/u/2722756?v=3","gravatar_id":"","url":"https://api.github.com/users/Moliholy","html_url":"https://github.com/Moliholy","followers_url":"https://api.github.com/users/Moliholy/followers","following_url":"https://api.github.com/users/Moliholy/following{/other_user}","gists_url":"https://api.github.com/users/Moliholy/gists{/gist_id}","starred_url":"https://api.github.com/users/Moliholy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Moliholy/subscriptions","organizations_url":"https://api.github.com/users/Moliholy/orgs","repos_url":"https://api.github.com/users/Moliholy/repos","events_url":"https://api.github.com/users/Moliholy/events{/privacy}","received_events_url":"https://api.github.com/users/Moliholy/received_events","type":"User","site_admin":false},"body":"This PR \"dockerizes\" the monitor, so that it adds the sufficient scripts and files to launch the docker container in \"almost\" a single instruction. The only requirement is to change settings.py.example accordingly if one wishes to use also the cvmfs_browser (disabled by default).","created_at":"2015-11-13T13:52:06Z","updated_at":"2015-11-17T14:44:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4fddd2825b908d055f884814a7c044cd0fc42af7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cvmfs/monitor/pulls/2/commits","review_comments_url":"https://api.github.com/repos/cvmfs/monitor/pulls/2/comments","review_comment_url":"https://api.github.com/repos/cvmfs/monitor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cvmfs/monitor/issues/2/comments","statuses_url":"https://api.github.com/repos/cvmfs/monitor/statuses/d85df840e9e8a660c1d2238a99cd77b4201a521b","head":{"label":"Moliholy:docker","ref":"docker","sha":"d85df840e9e8a660c1d2238a99cd77b4201a521b","user":{"login":"Moliholy","id":2722756,"avatar_url":"https://avatars.githubusercontent.com/u/2722756?v=3","gravatar_id":"","url":"https://api.github.com/users/Moliholy","html_url":"https://github.com/Moliholy","followers_url":"https://api.github.com/users/Moliholy/followers","following_url":"https://api.github.com/users/Moliholy/following{/other_user}","gists_url":"https://api.github.com/users/Moliholy/gists{/gist_id}","starred_url":"https://api.github.com/users/Moliholy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Moliholy/subscriptions","organizations_url":"https://api.github.com/users/Moliholy/orgs","repos_url":"https://api.github.com/users/Moliholy/repos","events_url":"https://api.github.com/users/Moliholy/events{/privacy}","received_events_url":"https://api.github.com/users/Moliholy/received_events","type":"User","site_admin":false},"repo":{"id":45599825,"name":"monitor","full_name":"Moliholy/monitor","owner":{"login":"Moliholy","id":2722756,"avatar_url":"https://avatars.githubusercontent.com/u/2722756?v=3","gravatar_id":"","url":"https://api.github.com/users/Moliholy","html_url":"https://github.com/Moliholy","followers_url":"https://api.github.com/users/Moliholy/followers","following_url":"https://api.github.com/users/Moliholy/following{/other_user}","gists_url":"https://api.github.com/users/Moliholy/gists{/gist_id}","starred_url":"https://api.github.com/users/Moliholy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Moliholy/subscriptions","organizations_url":"https://api.github.com/users/Moliholy/orgs","repos_url":"https://api.github.com/users/Moliholy/repos","events_url":"https://api.github.com/users/Moliholy/events{/privacy}","received_events_url":"https://api.github.com/users/Moliholy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Moliholy/monitor","description":"The CernVM-FS Monitor Web App","fork":true,"url":"https://api.github.com/repos/Moliholy/monitor","forks_url":"https://api.github.com/repos/Moliholy/monitor/forks","keys_url":"https://api.github.com/repos/Moliholy/monitor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Moliholy/monitor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Moliholy/monitor/teams","hooks_url":"https://api.github.com/repos/Moliholy/monitor/hooks","issue_events_url":"https://api.github.com/repos/Moliholy/monitor/issues/events{/number}","events_url":"https://api.github.com/repos/Moliholy/monitor/events","assignees_url":"https://api.github.com/repos/Moliholy/monitor/assignees{/user}","branches_url":"https://api.github.com/repos/Moliholy/monitor/branches{/branch}","tags_url":"https://api.github.com/repos/Moliholy/monitor/tags","blobs_url":"https://api.github.com/repos/Moliholy/monitor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Moliholy/monitor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Moliholy/monitor/git/refs{/sha}","trees_url":"https://api.github.com/repos/Moliholy/monitor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Moliholy/monitor/statuses/{sha}","languages_url":"https://api.github.com/repos/Moliholy/monitor/languages","stargazers_url":"https://api.github.com/repos/Moliholy/monitor/stargazers","contributors_url":"https://api.github.com/repos/Moliholy/monitor/contributors","subscribers_url":"https://api.github.com/repos/Moliholy/monitor/subscribers","subscription_url":"https://api.github.com/repos/Moliholy/monitor/subscription","commits_url":"https://api.github.com/repos/Moliholy/monitor/commits{/sha}","git_commits_url":"https://api.github.com/repos/Moliholy/monitor/git/commits{/sha}","comments_url":"https://api.github.com/repos/Moliholy/monitor/comments{/number}","issue_comment_url":"https://api.github.com/repos/Moliholy/monitor/issues/comments{/number}","contents_url":"https://api.github.com/repos/Moliholy/monitor/contents/{+path}","compare_url":"https://api.github.com/repos/Moliholy/monitor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Moliholy/monitor/merges","archive_url":"https://api.github.com/repos/Moliholy/monitor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Moliholy/monitor/downloads","issues_url":"https://api.github.com/repos/Moliholy/monitor/issues{/number}","pulls_url":"https://api.github.com/repos/Moliholy/monitor/pulls{/number}","milestones_url":"https://api.github.com/repos/Moliholy/monitor/milestones{/number}","notifications_url":"https://api.github.com/repos/Moliholy/monitor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Moliholy/monitor/labels{/name}","releases_url":"https://api.github.com/repos/Moliholy/monitor/releases{/id}","created_at":"2015-11-05T09:05:24Z","updated_at":"2015-11-05T09:05:25Z","pushed_at":"2015-11-16T15:44:57Z","git_url":"git://github.com/Moliholy/monitor.git","ssh_url":"git@github.com:Moliholy/monitor.git","clone_url":"https://github.com/Moliholy/monitor.git","svn_url":"https://github.com/Moliholy/monitor","homepage":null,"size":661,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"devel"}},"base":{"label":"cvmfs:devel","ref":"devel","sha":"ed6c34a0e4a26bf9f49a313272de19f2fa08857a","user":{"login":"cvmfs","id":1560859,"avatar_url":"https://avatars.githubusercontent.com/u/1560859?v=3","gravatar_id":"","url":"https://api.github.com/users/cvmfs","html_url":"https://github.com/cvmfs","followers_url":"https://api.github.com/users/cvmfs/followers","following_url":"https://api.github.com/users/cvmfs/following{/other_user}","gists_url":"https://api.github.com/users/cvmfs/gists{/gist_id}","starred_url":"https://api.github.com/users/cvmfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvmfs/subscriptions","organizations_url":"https://api.github.com/users/cvmfs/orgs","repos_url":"https://api.github.com/users/cvmfs/repos","events_url":"https://api.github.com/users/cvmfs/events{/privacy}","received_events_url":"https://api.github.com/users/cvmfs/received_events","type":"Organization","site_admin":false},"repo":{"id":43960210,"name":"monitor","full_name":"cvmfs/monitor","owner":{"login":"cvmfs","id":1560859,"avatar_url":"https://avatars.githubusercontent.com/u/1560859?v=3","gravatar_id":"","url":"https://api.github.com/users/cvmfs","html_url":"https://github.com/cvmfs","followers_url":"https://api.github.com/users/cvmfs/followers","following_url":"https://api.github.com/users/cvmfs/following{/other_user}","gists_url":"https://api.github.com/users/cvmfs/gists{/gist_id}","starred_url":"https://api.github.com/users/cvmfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvmfs/subscriptions","organizations_url":"https://api.github.com/users/cvmfs/orgs","repos_url":"https://api.github.com/users/cvmfs/repos","events_url":"https://api.github.com/users/cvmfs/events{/privacy}","received_events_url":"https://api.github.com/users/cvmfs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cvmfs/monitor","description":"The CernVM-FS Monitor Web App","fork":false,"url":"https://api.github.com/repos/cvmfs/monitor","forks_url":"https://api.github.com/repos/cvmfs/monitor/forks","keys_url":"https://api.github.com/repos/cvmfs/monitor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cvmfs/monitor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cvmfs/monitor/teams","hooks_url":"https://api.github.com/repos/cvmfs/monitor/hooks","issue_events_url":"https://api.github.com/repos/cvmfs/monitor/issues/events{/number}","events_url":"https://api.github.com/repos/cvmfs/monitor/events","assignees_url":"https://api.github.com/repos/cvmfs/monitor/assignees{/user}","branches_url":"https://api.github.com/repos/cvmfs/monitor/branches{/branch}","tags_url":"https://api.github.com/repos/cvmfs/monitor/tags","blobs_url":"https://api.github.com/repos/cvmfs/monitor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cvmfs/monitor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cvmfs/monitor/git/refs{/sha}","trees_url":"https://api.github.com/repos/cvmfs/monitor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cvmfs/monitor/statuses/{sha}","languages_url":"https://api.github.com/repos/cvmfs/monitor/languages","stargazers_url":"https://api.github.com/repos/cvmfs/monitor/stargazers","contributors_url":"https://api.github.com/repos/cvmfs/monitor/contributors","subscribers_url":"https://api.github.com/repos/cvmfs/monitor/subscribers","subscription_url":"https://api.github.com/repos/cvmfs/monitor/subscription","commits_url":"https://api.github.com/repos/cvmfs/monitor/commits{/sha}","git_commits_url":"https://api.github.com/repos/cvmfs/monitor/git/commits{/sha}","comments_url":"https://api.github.com/repos/cvmfs/monitor/comments{/number}","issue_comment_url":"https://api.github.com/repos/cvmfs/monitor/issues/comments{/number}","contents_url":"https://api.github.com/repos/cvmfs/monitor/contents/{+path}","compare_url":"https://api.github.com/repos/cvmfs/monitor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cvmfs/monitor/merges","archive_url":"https://api.github.com/repos/cvmfs/monitor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cvmfs/monitor/downloads","issues_url":"https://api.github.com/repos/cvmfs/monitor/issues{/number}","pulls_url":"https://api.github.com/repos/cvmfs/monitor/pulls{/number}","milestones_url":"https://api.github.com/repos/cvmfs/monitor/milestones{/number}","notifications_url":"https://api.github.com/repos/cvmfs/monitor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cvmfs/monitor/labels{/name}","releases_url":"https://api.github.com/repos/cvmfs/monitor/releases{/id}","created_at":"2015-10-09T14:22:28Z","updated_at":"2015-10-09T14:30:54Z","pushed_at":"2015-11-16T15:44:57Z","git_url":"git://github.com/cvmfs/monitor.git","ssh_url":"git@github.com:cvmfs/monitor.git","clone_url":"https://github.com/cvmfs/monitor.git","svn_url":"https://github.com/cvmfs/monitor","homepage":null,"size":672,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/cvmfs/monitor/pulls/2"},"html":{"href":"https://github.com/cvmfs/monitor/pull/2"},"issue":{"href":"https://api.github.com/repos/cvmfs/monitor/issues/2"},"comments":{"href":"https://api.github.com/repos/cvmfs/monitor/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/cvmfs/monitor/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/cvmfs/monitor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cvmfs/monitor/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/cvmfs/monitor/statuses/d85df840e9e8a660c1d2238a99cd77b4201a521b"}}}}