{"action":"created","comment":{"url":"https://api.github.com/repos/solvcon/solvcon/pulls/comments/85659881","pull_request_review_id":6363827,"id":85659881,"diff_hunk":"@@ -0,0 +1,46 @@\n+# This dockerfile builds a docker image containing the latest SOLVCON on git.\n+# It be used to quickly set up SOLVCON in docker.\n+# \n+# Go to where this dockerfile is and run:\n+# \n+# ```\n+# docker build -t <docker_repository>:<docker_tag> .\n+# ```\n+# \n+# And then verify it with\n+# \n+# ```\n+# docker run <docker_repository>:<docker_tag> bash -c \"source /home/solvcon/opt/conda3/bin/activate; nosetests --with-doctest /home/solvcon/solvcon/\"\n+# ```\n+# \n+# If any unit test fails, there's a problem.\n+\n+FROM ubuntu:14.04\n+MAINTAINER Taihsiang Ho <tai271828@gmail.com>\n+# Install OS-wide packages.\n+RUN \\\n+  apt-get -qq update && \\\n+  apt-get -qqy install g++ liblapack-dev git wget\n+# Set up user and environment.\n+RUN useradd -m solvcon\n+USER solvcon\n+ENV HOME=\"/home/solvcon\"\n+ENV CONDA_PREFIX=\"$HOME/opt/conda3\"\n+ENV PATH=\"${CONDA_PREFIX}/bin:$PATH\"\n+ENV SCSRC=\"$HOME/solvcon\"\n+# Get latest SOLVCON from github.\n+RUN cd $HOME && git clone https://github.com/solvcon/solvcon.git\n+# Install most dependencies at user level through conda and pip.\n+RUN \\\n+  mkdir -p $HOME/tmp && \\\n+  cd $HOME && \\\n+  wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /tmp/miniconda3.sh && \\\n+  bash /tmp/miniconda3.sh -b -p ${CONDA_PREFIX} && \\\n+  rm -f /tmp/miniconda3.sh","path":"contrib/docker/Dockerfile","position":39,"original_position":39,"commit_id":"5eb16541f9282e007b69c02a5689d6fc2635a554","original_commit_id":"5eb16541f9282e007b69c02a5689d6fc2635a554","user":{"login":"tai271828","id":3217432,"avatar_url":"https://avatars.githubusercontent.com/u/3217432?v=3","gravatar_id":"","url":"https://api.github.com/users/tai271828","html_url":"https://github.com/tai271828","followers_url":"https://api.github.com/users/tai271828/followers","following_url":"https://api.github.com/users/tai271828/following{/other_user}","gists_url":"https://api.github.com/users/tai271828/gists{/gist_id}","starred_url":"https://api.github.com/users/tai271828/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tai271828/subscriptions","organizations_url":"https://api.github.com/users/tai271828/orgs","repos_url":"https://api.github.com/users/tai271828/repos","events_url":"https://api.github.com/users/tai271828/events{/privacy}","received_events_url":"https://api.github.com/users/tai271828/received_events","type":"User","site_admin":false},"body":"I like the idea to use /tmp.","created_at":"2016-10-30T13:31:22Z","updated_at":"2016-10-30T13:31:23Z","html_url":"https://github.com/solvcon/solvcon/pull/174#discussion_r85659881","pull_request_url":"https://api.github.com/repos/solvcon/solvcon/pulls/174","_links":{"self":{"href":"https://api.github.com/repos/solvcon/solvcon/pulls/comments/85659881"},"html":{"href":"https://github.com/solvcon/solvcon/pull/174#discussion_r85659881"},"pull_request":{"href":"https://api.github.com/repos/solvcon/solvcon/pulls/174"}}},"pull_request":{"url":"https://api.github.com/repos/solvcon/solvcon/pulls/174","id":91516185,"html_url":"https://github.com/solvcon/solvcon/pull/174","diff_url":"https://github.com/solvcon/solvcon/pull/174.diff","patch_url":"https://github.com/solvcon/solvcon/pull/174.patch","issue_url":"https://api.github.com/repos/solvcon/solvcon/issues/174","number":174,"state":"closed","locked":false,"title":"Reorganize the docker file.","user":{"login":"yungyuc","id":399122,"avatar_url":"https://avatars.githubusercontent.com/u/399122?v=3","gravatar_id":"","url":"https://api.github.com/users/yungyuc","html_url":"https://github.com/yungyuc","followers_url":"https://api.github.com/users/yungyuc/followers","following_url":"https://api.github.com/users/yungyuc/following{/other_user}","gists_url":"https://api.github.com/users/yungyuc/gists{/gist_id}","starred_url":"https://api.github.com/users/yungyuc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yungyuc/subscriptions","organizations_url":"https://api.github.com/users/yungyuc/orgs","repos_url":"https://api.github.com/users/yungyuc/repos","events_url":"https://api.github.com/users/yungyuc/events{/privacy}","received_events_url":"https://api.github.com/users/yungyuc/received_events","type":"User","site_admin":false},"body":"- Give it a standalone directory contrib/docker/.\r\n- Group related commands together.\r\n- Install miniconda in $HOME/opt/conda3 (which uses Python 3).\r\n- Clean up command remarks.","created_at":"2016-10-30T09:33:34Z","updated_at":"2016-10-30T13:33:02Z","closed_at":"2016-10-30T09:35:32Z","merged_at":"2016-10-30T09:35:32Z","merge_commit_sha":"107138c75927dfc5b5ac49766de99995bb3cf254","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/solvcon/solvcon/pulls/174/commits","review_comments_url":"https://api.github.com/repos/solvcon/solvcon/pulls/174/comments","review_comment_url":"https://api.github.com/repos/solvcon/solvcon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/solvcon/solvcon/issues/174/comments","statuses_url":"https://api.github.com/repos/solvcon/solvcon/statuses/5eb16541f9282e007b69c02a5689d6fc2635a554","head":{"label":"yungyuc:yyc-docker","ref":"yyc-docker","sha":"5eb16541f9282e007b69c02a5689d6fc2635a554","user":{"login":"yungyuc","id":399122,"avatar_url":"https://avatars.githubusercontent.com/u/399122?v=3","gravatar_id":"","url":"https://api.github.com/users/yungyuc","html_url":"https://github.com/yungyuc","followers_url":"https://api.github.com/users/yungyuc/followers","following_url":"https://api.github.com/users/yungyuc/following{/other_user}","gists_url":"https://api.github.com/users/yungyuc/gists{/gist_id}","starred_url":"https://api.github.com/users/yungyuc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yungyuc/subscriptions","organizations_url":"https://api.github.com/users/yungyuc/orgs","repos_url":"https://api.github.com/users/yungyuc/repos","events_url":"https://api.github.com/users/yungyuc/events{/privacy}","received_events_url":"https://api.github.com/users/yungyuc/received_events","type":"User","site_admin":false},"repo":{"id":47664731,"name":"solvcon","full_name":"yungyuc/solvcon","owner":{"login":"yungyuc","id":399122,"avatar_url":"https://avatars.githubusercontent.com/u/399122?v=3","gravatar_id":"","url":"https://api.github.com/users/yungyuc","html_url":"https://github.com/yungyuc","followers_url":"https://api.github.com/users/yungyuc/followers","following_url":"https://api.github.com/users/yungyuc/following{/other_user}","gists_url":"https://api.github.com/users/yungyuc/gists{/gist_id}","starred_url":"https://api.github.com/users/yungyuc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yungyuc/subscriptions","organizations_url":"https://api.github.com/users/yungyuc/orgs","repos_url":"https://api.github.com/users/yungyuc/repos","events_url":"https://api.github.com/users/yungyuc/events{/privacy}","received_events_url":"https://api.github.com/users/yungyuc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yungyuc/solvcon","description":"A software framework of conservation-law solvers that use the space-time Conservation Element and Solution Element (CESE) method.","fork":true,"url":"https://api.github.com/repos/yungyuc/solvcon","forks_url":"https://api.github.com/repos/yungyuc/solvcon/forks","keys_url":"https://api.github.com/repos/yungyuc/solvcon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yungyuc/solvcon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yungyuc/solvcon/teams","hooks_url":"https://api.github.com/repos/yungyuc/solvcon/hooks","issue_events_url":"https://api.github.com/repos/yungyuc/solvcon/issues/events{/number}","events_url":"https://api.github.com/repos/yungyuc/solvcon/events","assignees_url":"https://api.github.com/repos/yungyuc/solvcon/assignees{/user}","branches_url":"https://api.github.com/repos/yungyuc/solvcon/branches{/branch}","tags_url":"https://api.github.com/repos/yungyuc/solvcon/tags","blobs_url":"https://api.github.com/repos/yungyuc/solvcon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yungyuc/solvcon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yungyuc/solvcon/git/refs{/sha}","trees_url":"https://api.github.com/repos/yungyuc/solvcon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yungyuc/solvcon/statuses/{sha}","languages_url":"https://api.github.com/repos/yungyuc/solvcon/languages","stargazers_url":"https://api.github.com/repos/yungyuc/solvcon/stargazers","contributors_url":"https://api.github.com/repos/yungyuc/solvcon/contributors","subscribers_url":"https://api.github.com/repos/yungyuc/solvcon/subscribers","subscription_url":"https://api.github.com/repos/yungyuc/solvcon/subscription","commits_url":"https://api.github.com/repos/yungyuc/solvcon/commits{/sha}","git_commits_url":"https://api.github.com/repos/yungyuc/solvcon/git/commits{/sha}","comments_url":"https://api.github.com/repos/yungyuc/solvcon/comments{/number}","issue_comment_url":"https://api.github.com/repos/yungyuc/solvcon/issues/comments{/number}","contents_url":"https://api.github.com/repos/yungyuc/solvcon/contents/{+path}","compare_url":"https://api.github.com/repos/yungyuc/solvcon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yungyuc/solvcon/merges","archive_url":"https://api.github.com/repos/yungyuc/solvcon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yungyuc/solvcon/downloads","issues_url":"https://api.github.com/repos/yungyuc/solvcon/issues{/number}","pulls_url":"https://api.github.com/repos/yungyuc/solvcon/pulls{/number}","milestones_url":"https://api.github.com/repos/yungyuc/solvcon/milestones{/number}","notifications_url":"https://api.github.com/repos/yungyuc/solvcon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yungyuc/solvcon/labels{/name}","releases_url":"https://api.github.com/repos/yungyuc/solvcon/releases{/id}","deployments_url":"https://api.github.com/repos/yungyuc/solvcon/deployments","created_at":"2015-12-09T02:56:01Z","updated_at":"2016-06-10T08:35:36Z","pushed_at":"2016-10-30T09:37:01Z","git_url":"git://github.com/yungyuc/solvcon.git","ssh_url":"git@github.com:yungyuc/solvcon.git","clone_url":"https://github.com/yungyuc/solvcon.git","svn_url":"https://github.com/yungyuc/solvcon","homepage":"http://solvcon.net/","size":10301,"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":"master"}},"base":{"label":"solvcon:master","ref":"master","sha":"47db62aeeefaec731d820835aea1018c6c5541f4","user":{"login":"solvcon","id":7598210,"avatar_url":"https://avatars.githubusercontent.com/u/7598210?v=3","gravatar_id":"","url":"https://api.github.com/users/solvcon","html_url":"https://github.com/solvcon","followers_url":"https://api.github.com/users/solvcon/followers","following_url":"https://api.github.com/users/solvcon/following{/other_user}","gists_url":"https://api.github.com/users/solvcon/gists{/gist_id}","starred_url":"https://api.github.com/users/solvcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solvcon/subscriptions","organizations_url":"https://api.github.com/users/solvcon/orgs","repos_url":"https://api.github.com/users/solvcon/repos","events_url":"https://api.github.com/users/solvcon/events{/privacy}","received_events_url":"https://api.github.com/users/solvcon/received_events","type":"Organization","site_admin":false},"repo":{"id":47655725,"name":"solvcon","full_name":"solvcon/solvcon","owner":{"login":"solvcon","id":7598210,"avatar_url":"https://avatars.githubusercontent.com/u/7598210?v=3","gravatar_id":"","url":"https://api.github.com/users/solvcon","html_url":"https://github.com/solvcon","followers_url":"https://api.github.com/users/solvcon/followers","following_url":"https://api.github.com/users/solvcon/following{/other_user}","gists_url":"https://api.github.com/users/solvcon/gists{/gist_id}","starred_url":"https://api.github.com/users/solvcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solvcon/subscriptions","organizations_url":"https://api.github.com/users/solvcon/orgs","repos_url":"https://api.github.com/users/solvcon/repos","events_url":"https://api.github.com/users/solvcon/events{/privacy}","received_events_url":"https://api.github.com/users/solvcon/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/solvcon/solvcon","description":"A software framework of conservation-law solvers that use the space-time Conservation Element and Solution Element (CESE) method.","fork":false,"url":"https://api.github.com/repos/solvcon/solvcon","forks_url":"https://api.github.com/repos/solvcon/solvcon/forks","keys_url":"https://api.github.com/repos/solvcon/solvcon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/solvcon/solvcon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/solvcon/solvcon/teams","hooks_url":"https://api.github.com/repos/solvcon/solvcon/hooks","issue_events_url":"https://api.github.com/repos/solvcon/solvcon/issues/events{/number}","events_url":"https://api.github.com/repos/solvcon/solvcon/events","assignees_url":"https://api.github.com/repos/solvcon/solvcon/assignees{/user}","branches_url":"https://api.github.com/repos/solvcon/solvcon/branches{/branch}","tags_url":"https://api.github.com/repos/solvcon/solvcon/tags","blobs_url":"https://api.github.com/repos/solvcon/solvcon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/solvcon/solvcon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/solvcon/solvcon/git/refs{/sha}","trees_url":"https://api.github.com/repos/solvcon/solvcon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/solvcon/solvcon/statuses/{sha}","languages_url":"https://api.github.com/repos/solvcon/solvcon/languages","stargazers_url":"https://api.github.com/repos/solvcon/solvcon/stargazers","contributors_url":"https://api.github.com/repos/solvcon/solvcon/contributors","subscribers_url":"https://api.github.com/repos/solvcon/solvcon/subscribers","subscription_url":"https://api.github.com/repos/solvcon/solvcon/subscription","commits_url":"https://api.github.com/repos/solvcon/solvcon/commits{/sha}","git_commits_url":"https://api.github.com/repos/solvcon/solvcon/git/commits{/sha}","comments_url":"https://api.github.com/repos/solvcon/solvcon/comments{/number}","issue_comment_url":"https://api.github.com/repos/solvcon/solvcon/issues/comments{/number}","contents_url":"https://api.github.com/repos/solvcon/solvcon/contents/{+path}","compare_url":"https://api.github.com/repos/solvcon/solvcon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/solvcon/solvcon/merges","archive_url":"https://api.github.com/repos/solvcon/solvcon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/solvcon/solvcon/downloads","issues_url":"https://api.github.com/repos/solvcon/solvcon/issues{/number}","pulls_url":"https://api.github.com/repos/solvcon/solvcon/pulls{/number}","milestones_url":"https://api.github.com/repos/solvcon/solvcon/milestones{/number}","notifications_url":"https://api.github.com/repos/solvcon/solvcon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/solvcon/solvcon/labels{/name}","releases_url":"https://api.github.com/repos/solvcon/solvcon/releases{/id}","deployments_url":"https://api.github.com/repos/solvcon/solvcon/deployments","created_at":"2015-12-08T23:23:29Z","updated_at":"2016-10-29T23:43:25Z","pushed_at":"2016-10-30T09:35:32Z","git_url":"git://github.com/solvcon/solvcon.git","ssh_url":"git@github.com:solvcon/solvcon.git","clone_url":"https://github.com/solvcon/solvcon.git","svn_url":"https://github.com/solvcon/solvcon","homepage":"http://solvcon.net/","size":10322,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":35,"forks":4,"open_issues":35,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/solvcon/solvcon/pulls/174"},"html":{"href":"https://github.com/solvcon/solvcon/pull/174"},"issue":{"href":"https://api.github.com/repos/solvcon/solvcon/issues/174"},"comments":{"href":"https://api.github.com/repos/solvcon/solvcon/issues/174/comments"},"review_comments":{"href":"https://api.github.com/repos/solvcon/solvcon/pulls/174/comments"},"review_comment":{"href":"https://api.github.com/repos/solvcon/solvcon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/solvcon/solvcon/pulls/174/commits"},"statuses":{"href":"https://api.github.com/repos/solvcon/solvcon/statuses/5eb16541f9282e007b69c02a5689d6fc2635a554"}}}}
{"actor":{"display_login":"tai271828"}}