{"action":"created","comment":{"url":"https://api.github.com/repos/inasafe/inasafe-headless/pulls/comments/165299491","pull_request_review_id":93213495,"id":165299491,"diff_hunk":"@@ -0,0 +1,49 @@\n+#--------- Generic stuff all our Dockerfiles should start with so we get caching ------------\n+FROM debian:jessie\n+\n+RUN apt-get -y update; apt-get -y --force-yes install apt-transport-https\n+RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-key 3FF5FFCAD71472C4\n+\n+RUN echo \"deb     http://qgis.org/debian jessie main\" >> /etc/apt/sources.list\n+RUN echo \"deb-src http://qgis.org/debian jessie main\" >> /etc/apt/sources.list\n+\n+RUN apt-get -y update; apt-get -y --force-yes install qgis python-qgis\n+RUN apt-get -y update; apt-get -y --force-yes install build-essential autoconf libtool pkg-config\n+\n+RUN export DEBIAN_FRONTEND=noninteractive\n+ENV DEBIAN_FRONTEND noninteractive\n+RUN dpkg-divert --local --rename --add /sbin/initctl\n+\n+RUN apt-get -y update; apt-get -y --force-yes install pwgen git inotify-tools\n+\n+#-------------Application Specific Stuff ----------------------------------------------------\n+# Install git, xvfb\n+RUN apt-get -y update; apt-get -y --force-yes install git xvfb python-setuptools python-dev libssl-dev libffi-dev python-scipy\n+RUN easy_install pip==9.0.1\n+# Copy ubuntu fonts\n+RUN apt-get -y update; apt-get -y --force-yes install wget unzip\n+ADD ubuntu-font-family-0.83.zip /ubuntu-font-family-0.83.zip\n+RUN unzip ubuntu-font-family-0.83.zip\n+RUN mv ubuntu-font-family-0.83 /usr/share/fonts/truetype/ubuntu-font-family\n+RUN fc-cache -f -v\n+\n+ADD REQUIREMENTS.txt /REQUIREMENTS.txt\n+RUN pip install -r REQUIREMENTS.txt\n+\n+ADD docker-entrypoint.sh /docker-entrypoint.sh\n+RUN chmod +x /docker-entrypoint.sh\n+\n+# Install InaSAFE Core\n+RUN mkdir -p /usr/share/qgis/python/plugins\n+WORKDIR /usr/share/qgis/python/plugins\n+ARG INASAFE_CORE_TAG=develop\n+RUN git clone --branch ${INASAFE_CORE_TAG} --depth 1 https://github.com/inasafe/inasafe.git inasafe\n+\n+# Install InaSAFE Realtime Hazard","path":"deployment/production/docker/headless/Dockerfile","position":42,"original_position":42,"commit_id":"6bf4a977a360b49d5ff3520151e43fbbc4c748d2","original_commit_id":"6bf4a977a360b49d5ff3520151e43fbbc4c748d2","user":{"login":"ismailsunni","id":1421861,"avatar_url":"https://avatars3.githubusercontent.com/u/1421861?v=4","gravatar_id":"","url":"https://api.github.com/users/ismailsunni","html_url":"https://github.com/ismailsunni","followers_url":"https://api.github.com/users/ismailsunni/followers","following_url":"https://api.github.com/users/ismailsunni/following{/other_user}","gists_url":"https://api.github.com/users/ismailsunni/gists{/gist_id}","starred_url":"https://api.github.com/users/ismailsunni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismailsunni/subscriptions","organizations_url":"https://api.github.com/users/ismailsunni/orgs","repos_url":"https://api.github.com/users/ismailsunni/repos","events_url":"https://api.github.com/users/ismailsunni/events{/privacy}","received_events_url":"https://api.github.com/users/ismailsunni/received_events","type":"User","site_admin":false},"body":"Realtime?","created_at":"2018-02-01T09:34:25Z","updated_at":"2018-02-01T09:56:51Z","html_url":"https://github.com/inasafe/inasafe-headless/pull/15#discussion_r165299491","pull_request_url":"https://api.github.com/repos/inasafe/inasafe-headless/pulls/15","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/inasafe/inasafe-headless/pulls/comments/165299491"},"html":{"href":"https://github.com/inasafe/inasafe-headless/pull/15#discussion_r165299491"},"pull_request":{"href":"https://api.github.com/repos/inasafe/inasafe-headless/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/inasafe/inasafe-headless/pulls/15","id":166472843,"html_url":"https://github.com/inasafe/inasafe-headless/pull/15","diff_url":"https://github.com/inasafe/inasafe-headless/pull/15.diff","patch_url":"https://github.com/inasafe/inasafe-headless/pull/15.patch","issue_url":"https://api.github.com/repos/inasafe/inasafe-headless/issues/15","number":15,"state":"open","locked":false,"title":"Improve orchestration and include production grade service","user":{"login":"lucernae","id":831865,"avatar_url":"https://avatars2.githubusercontent.com/u/831865?v=4","gravatar_id":"","url":"https://api.github.com/users/lucernae","html_url":"https://github.com/lucernae","followers_url":"https://api.github.com/users/lucernae/followers","following_url":"https://api.github.com/users/lucernae/following{/other_user}","gists_url":"https://api.github.com/users/lucernae/gists{/gist_id}","starred_url":"https://api.github.com/users/lucernae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucernae/subscriptions","organizations_url":"https://api.github.com/users/lucernae/orgs","repos_url":"https://api.github.com/users/lucernae/repos","events_url":"https://api.github.com/users/lucernae/events{/privacy}","received_events_url":"https://api.github.com/users/lucernae/received_events","type":"User","site_admin":false},"body":"Tidying up orchestration and docker services.","created_at":"2018-02-01T08:34:21Z","updated_at":"2018-02-01T09:56:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee67184da8b582a58b0a955b904c8c8d62e565eb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/inasafe/inasafe-headless/pulls/15/commits","review_comments_url":"https://api.github.com/repos/inasafe/inasafe-headless/pulls/15/comments","review_comment_url":"https://api.github.com/repos/inasafe/inasafe-headless/pulls/comments{/number}","comments_url":"https://api.github.com/repos/inasafe/inasafe-headless/issues/15/comments","statuses_url":"https://api.github.com/repos/inasafe/inasafe-headless/statuses/6bf4a977a360b49d5ff3520151e43fbbc4c748d2","head":{"label":"inasafe:orchestration","ref":"orchestration","sha":"6bf4a977a360b49d5ff3520151e43fbbc4c748d2","user":{"login":"inasafe","id":1843347,"avatar_url":"https://avatars3.githubusercontent.com/u/1843347?v=4","gravatar_id":"","url":"https://api.github.com/users/inasafe","html_url":"https://github.com/inasafe","followers_url":"https://api.github.com/users/inasafe/followers","following_url":"https://api.github.com/users/inasafe/following{/other_user}","gists_url":"https://api.github.com/users/inasafe/gists{/gist_id}","starred_url":"https://api.github.com/users/inasafe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inasafe/subscriptions","organizations_url":"https://api.github.com/users/inasafe/orgs","repos_url":"https://api.github.com/users/inasafe/repos","events_url":"https://api.github.com/users/inasafe/events{/privacy}","received_events_url":"https://api.github.com/users/inasafe/received_events","type":"Organization","site_admin":false},"repo":{"id":44585422,"name":"inasafe-headless","full_name":"inasafe/inasafe-headless","owner":{"login":"inasafe","id":1843347,"avatar_url":"https://avatars3.githubusercontent.com/u/1843347?v=4","gravatar_id":"","url":"https://api.github.com/users/inasafe","html_url":"https://github.com/inasafe","followers_url":"https://api.github.com/users/inasafe/followers","following_url":"https://api.github.com/users/inasafe/following{/other_user}","gists_url":"https://api.github.com/users/inasafe/gists{/gist_id}","starred_url":"https://api.github.com/users/inasafe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inasafe/subscriptions","organizations_url":"https://api.github.com/users/inasafe/orgs","repos_url":"https://api.github.com/users/inasafe/repos","events_url":"https://api.github.com/users/inasafe/events{/privacy}","received_events_url":"https://api.github.com/users/inasafe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/inasafe/inasafe-headless","description":"An effort to run InaSAFE and all its functionality as a stand-alone package that is easy to install","fork":false,"url":"https://api.github.com/repos/inasafe/inasafe-headless","forks_url":"https://api.github.com/repos/inasafe/inasafe-headless/forks","keys_url":"https://api.github.com/repos/inasafe/inasafe-headless/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inasafe/inasafe-headless/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inasafe/inasafe-headless/teams","hooks_url":"https://api.github.com/repos/inasafe/inasafe-headless/hooks","issue_events_url":"https://api.github.com/repos/inasafe/inasafe-headless/issues/events{/number}","events_url":"https://api.github.com/repos/inasafe/inasafe-headless/events","assignees_url":"https://api.github.com/repos/inasafe/inasafe-headless/assignees{/user}","branches_url":"https://api.github.com/repos/inasafe/inasafe-headless/branches{/branch}","tags_url":"https://api.github.com/repos/inasafe/inasafe-headless/tags","blobs_url":"https://api.github.com/repos/inasafe/inasafe-headless/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inasafe/inasafe-headless/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inasafe/inasafe-headless/git/refs{/sha}","trees_url":"https://api.github.com/repos/inasafe/inasafe-headless/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inasafe/inasafe-headless/statuses/{sha}","languages_url":"https://api.github.com/repos/inasafe/inasafe-headless/languages","stargazers_url":"https://api.github.com/repos/inasafe/inasafe-headless/stargazers","contributors_url":"https://api.github.com/repos/inasafe/inasafe-headless/contributors","subscribers_url":"https://api.github.com/repos/inasafe/inasafe-headless/subscribers","subscription_url":"https://api.github.com/repos/inasafe/inasafe-headless/subscription","commits_url":"https://api.github.com/repos/inasafe/inasafe-headless/commits{/sha}","git_commits_url":"https://api.github.com/repos/inasafe/inasafe-headless/git/commits{/sha}","comments_url":"https://api.github.com/repos/inasafe/inasafe-headless/comments{/number}","issue_comment_url":"https://api.github.com/repos/inasafe/inasafe-headless/issues/comments{/number}","contents_url":"https://api.github.com/repos/inasafe/inasafe-headless/contents/{+path}","compare_url":"https://api.github.com/repos/inasafe/inasafe-headless/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inasafe/inasafe-headless/merges","archive_url":"https://api.github.com/repos/inasafe/inasafe-headless/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inasafe/inasafe-headless/downloads","issues_url":"https://api.github.com/repos/inasafe/inasafe-headless/issues{/number}","pulls_url":"https://api.github.com/repos/inasafe/inasafe-headless/pulls{/number}","milestones_url":"https://api.github.com/repos/inasafe/inasafe-headless/milestones{/number}","notifications_url":"https://api.github.com/repos/inasafe/inasafe-headless/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inasafe/inasafe-headless/labels{/name}","releases_url":"https://api.github.com/repos/inasafe/inasafe-headless/releases{/id}","deployments_url":"https://api.github.com/repos/inasafe/inasafe-headless/deployments","created_at":"2015-10-20T06:01:13Z","updated_at":"2018-01-25T02:01:44Z","pushed_at":"2018-02-01T09:17:30Z","git_url":"git://github.com/inasafe/inasafe-headless.git","ssh_url":"git@github.com:inasafe/inasafe-headless.git","clone_url":"https://github.com/inasafe/inasafe-headless.git","svn_url":"https://github.com/inasafe/inasafe-headless","homepage":null,"size":2227,"stargazers_count":0,"watchers_count":0,"language":"QML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":3,"open_issues":2,"watchers":0,"default_branch":"develop"}},"base":{"label":"inasafe:develop","ref":"develop","sha":"0b107979ef6773db78b2cda7d39d329304f28a29","user":{"login":"inasafe","id":1843347,"avatar_url":"https://avatars3.githubusercontent.com/u/1843347?v=4","gravatar_id":"","url":"https://api.github.com/users/inasafe","html_url":"https://github.com/inasafe","followers_url":"https://api.github.com/users/inasafe/followers","following_url":"https://api.github.com/users/inasafe/following{/other_user}","gists_url":"https://api.github.com/users/inasafe/gists{/gist_id}","starred_url":"https://api.github.com/users/inasafe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inasafe/subscriptions","organizations_url":"https://api.github.com/users/inasafe/orgs","repos_url":"https://api.github.com/users/inasafe/repos","events_url":"https://api.github.com/users/inasafe/events{/privacy}","received_events_url":"https://api.github.com/users/inasafe/received_events","type":"Organization","site_admin":false},"repo":{"id":44585422,"name":"inasafe-headless","full_name":"inasafe/inasafe-headless","owner":{"login":"inasafe","id":1843347,"avatar_url":"https://avatars3.githubusercontent.com/u/1843347?v=4","gravatar_id":"","url":"https://api.github.com/users/inasafe","html_url":"https://github.com/inasafe","followers_url":"https://api.github.com/users/inasafe/followers","following_url":"https://api.github.com/users/inasafe/following{/other_user}","gists_url":"https://api.github.com/users/inasafe/gists{/gist_id}","starred_url":"https://api.github.com/users/inasafe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inasafe/subscriptions","organizations_url":"https://api.github.com/users/inasafe/orgs","repos_url":"https://api.github.com/users/inasafe/repos","events_url":"https://api.github.com/users/inasafe/events{/privacy}","received_events_url":"https://api.github.com/users/inasafe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/inasafe/inasafe-headless","description":"An effort to run InaSAFE and all its functionality as a stand-alone package that is easy to install","fork":false,"url":"https://api.github.com/repos/inasafe/inasafe-headless","forks_url":"https://api.github.com/repos/inasafe/inasafe-headless/forks","keys_url":"https://api.github.com/repos/inasafe/inasafe-headless/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inasafe/inasafe-headless/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inasafe/inasafe-headless/teams","hooks_url":"https://api.github.com/repos/inasafe/inasafe-headless/hooks","issue_events_url":"https://api.github.com/repos/inasafe/inasafe-headless/issues/events{/number}","events_url":"https://api.github.com/repos/inasafe/inasafe-headless/events","assignees_url":"https://api.github.com/repos/inasafe/inasafe-headless/assignees{/user}","branches_url":"https://api.github.com/repos/inasafe/inasafe-headless/branches{/branch}","tags_url":"https://api.github.com/repos/inasafe/inasafe-headless/tags","blobs_url":"https://api.github.com/repos/inasafe/inasafe-headless/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inasafe/inasafe-headless/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inasafe/inasafe-headless/git/refs{/sha}","trees_url":"https://api.github.com/repos/inasafe/inasafe-headless/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inasafe/inasafe-headless/statuses/{sha}","languages_url":"https://api.github.com/repos/inasafe/inasafe-headless/languages","stargazers_url":"https://api.github.com/repos/inasafe/inasafe-headless/stargazers","contributors_url":"https://api.github.com/repos/inasafe/inasafe-headless/contributors","subscribers_url":"https://api.github.com/repos/inasafe/inasafe-headless/subscribers","subscription_url":"https://api.github.com/repos/inasafe/inasafe-headless/subscription","commits_url":"https://api.github.com/repos/inasafe/inasafe-headless/commits{/sha}","git_commits_url":"https://api.github.com/repos/inasafe/inasafe-headless/git/commits{/sha}","comments_url":"https://api.github.com/repos/inasafe/inasafe-headless/comments{/number}","issue_comment_url":"https://api.github.com/repos/inasafe/inasafe-headless/issues/comments{/number}","contents_url":"https://api.github.com/repos/inasafe/inasafe-headless/contents/{+path}","compare_url":"https://api.github.com/repos/inasafe/inasafe-headless/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inasafe/inasafe-headless/merges","archive_url":"https://api.github.com/repos/inasafe/inasafe-headless/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inasafe/inasafe-headless/downloads","issues_url":"https://api.github.com/repos/inasafe/inasafe-headless/issues{/number}","pulls_url":"https://api.github.com/repos/inasafe/inasafe-headless/pulls{/number}","milestones_url":"https://api.github.com/repos/inasafe/inasafe-headless/milestones{/number}","notifications_url":"https://api.github.com/repos/inasafe/inasafe-headless/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inasafe/inasafe-headless/labels{/name}","releases_url":"https://api.github.com/repos/inasafe/inasafe-headless/releases{/id}","deployments_url":"https://api.github.com/repos/inasafe/inasafe-headless/deployments","created_at":"2015-10-20T06:01:13Z","updated_at":"2018-01-25T02:01:44Z","pushed_at":"2018-02-01T09:17:30Z","git_url":"git://github.com/inasafe/inasafe-headless.git","ssh_url":"git@github.com:inasafe/inasafe-headless.git","clone_url":"https://github.com/inasafe/inasafe-headless.git","svn_url":"https://github.com/inasafe/inasafe-headless","homepage":null,"size":2227,"stargazers_count":0,"watchers_count":0,"language":"QML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":3,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/inasafe/inasafe-headless/pulls/15"},"html":{"href":"https://github.com/inasafe/inasafe-headless/pull/15"},"issue":{"href":"https://api.github.com/repos/inasafe/inasafe-headless/issues/15"},"comments":{"href":"https://api.github.com/repos/inasafe/inasafe-headless/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/inasafe/inasafe-headless/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/inasafe/inasafe-headless/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/inasafe/inasafe-headless/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/inasafe/inasafe-headless/statuses/6bf4a977a360b49d5ff3520151e43fbbc4c748d2"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"ismailsunni"}}