{"action":"created","comment":{"url":"https://api.github.com/repos/amplab/ray/pulls/comments/75231550","id":75231550,"diff_hunk":"@@ -4,17 +4,11 @@\n FROM ubuntu:xenial\n RUN apt-get update\n RUN apt-get -y install apt-utils\n-RUN apt-get -y install sudo\n-RUN apt-get install -y git cmake build-essential autoconf curl libtool python-dev python-numpy python-pip libboost-all-dev unzip graphviz\n-RUN pip install ipython typing funcsigs subprocess32 protobuf colorama graphviz cloudpickle\n-RUN adduser --gecos --ingroup ray-user --disabled-login --gecos ray-user\n-RUN adduser ray-user sudo\n-RUN sed -i \"s|%sudo\\tALL=(ALL:ALL) ALL|%sudo\\tALL=NOPASSWD: ALL|\" /etc/sudoers\n-USER ray-user\n-WORKDIR /home/ray-user\n+RUN apt-get install -y git cmake build-essential autoconf curl libtool python-dev python-numpy python-pip libboost-all-dev unzip graphviz iputils-ping openssh-server","path":"docker/deploy/Dockerfile","position":12,"original_position":12,"commit_id":"ddd7ed7ea646d6ee96dc4827ef9f122fdc477da5","original_commit_id":"cd7180995167b68bd8f911eb6499832f48d19564","user":{"login":"ejj","id":620438,"avatar_url":"https://avatars.githubusercontent.com/u/620438?v=3","gravatar_id":"","url":"https://api.github.com/users/ejj","html_url":"https://github.com/ejj","followers_url":"https://api.github.com/users/ejj/followers","following_url":"https://api.github.com/users/ejj/following{/other_user}","gists_url":"https://api.github.com/users/ejj/gists{/gist_id}","starred_url":"https://api.github.com/users/ejj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejj/subscriptions","organizations_url":"https://api.github.com/users/ejj/orgs","repos_url":"https://api.github.com/users/ejj/repos","events_url":"https://api.github.com/users/ejj/events{/privacy}","received_events_url":"https://api.github.com/users/ejj/received_events","type":"User","site_admin":false},"body":"Have a look at the main quilt Dockerfile.\r\n\r\nBasically, what you want to do, is in a single giant ugly RUN apt-get all of the dependencies, build, and then remove all of build time dependencies.  That way we don't end up having giant layers in the container making everything bigger.","created_at":"2016-08-18T00:24:30Z","updated_at":"2016-08-18T00:24:30Z","html_url":"https://github.com/amplab/ray/pull/381#discussion_r75231550","pull_request_url":"https://api.github.com/repos/amplab/ray/pulls/381","_links":{"self":{"href":"https://api.github.com/repos/amplab/ray/pulls/comments/75231550"},"html":{"href":"https://github.com/amplab/ray/pull/381#discussion_r75231550"},"pull_request":{"href":"https://api.github.com/repos/amplab/ray/pulls/381"}}},"pull_request":{"url":"https://api.github.com/repos/amplab/ray/pulls/381","id":81562528,"html_url":"https://github.com/amplab/ray/pull/381","diff_url":"https://github.com/amplab/ray/pull/381.diff","patch_url":"https://github.com/amplab/ray/pull/381.patch","issue_url":"https://api.github.com/repos/amplab/ray/issues/381","number":381,"state":"open","locked":false,"title":"Quilt Support [don't merge yet!]","user":{"login":"secant","id":5145763,"avatar_url":"https://avatars.githubusercontent.com/u/5145763?v=3","gravatar_id":"","url":"https://api.github.com/users/secant","html_url":"https://github.com/secant","followers_url":"https://api.github.com/users/secant/followers","following_url":"https://api.github.com/users/secant/following{/other_user}","gists_url":"https://api.github.com/users/secant/gists{/gist_id}","starred_url":"https://api.github.com/users/secant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/secant/subscriptions","organizations_url":"https://api.github.com/users/secant/orgs","repos_url":"https://api.github.com/users/secant/repos","events_url":"https://api.github.com/users/secant/events{/privacy}","received_events_url":"https://api.github.com/users/secant/received_events","type":"User","site_admin":false},"body":"In order for this to work, make sure you run the following (since this isn't merged yet):\r\nAssuming your working directory is `/path/to/ray`, and you've installed quilt:\r\n```bash\r\nquilt get github.com/NetSys/quilt\r\ncd quilt && mkdir ~/.quilt && cp ray.spec ~/.quilt\r\n```\r\nThis is because quilt looks for imports in your `QUILT_PATH` environment variable, which is by default `~/.quilt`.","created_at":"2016-08-16T23:33:27Z","updated_at":"2016-08-18T00:24:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f2dc16724d7626a6ba8a9386198f6ae1c1ab2cf0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/amplab/ray/pulls/381/commits","review_comments_url":"https://api.github.com/repos/amplab/ray/pulls/381/comments","review_comment_url":"https://api.github.com/repos/amplab/ray/pulls/comments{/number}","comments_url":"https://api.github.com/repos/amplab/ray/issues/381/comments","statuses_url":"https://api.github.com/repos/amplab/ray/statuses/ddd7ed7ea646d6ee96dc4827ef9f122fdc477da5","head":{"label":"secant:quilt","ref":"quilt","sha":"ddd7ed7ea646d6ee96dc4827ef9f122fdc477da5","user":{"login":"secant","id":5145763,"avatar_url":"https://avatars.githubusercontent.com/u/5145763?v=3","gravatar_id":"","url":"https://api.github.com/users/secant","html_url":"https://github.com/secant","followers_url":"https://api.github.com/users/secant/followers","following_url":"https://api.github.com/users/secant/following{/other_user}","gists_url":"https://api.github.com/users/secant/gists{/gist_id}","starred_url":"https://api.github.com/users/secant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/secant/subscriptions","organizations_url":"https://api.github.com/users/secant/orgs","repos_url":"https://api.github.com/users/secant/repos","events_url":"https://api.github.com/users/secant/events{/privacy}","received_events_url":"https://api.github.com/users/secant/received_events","type":"User","site_admin":false},"repo":{"id":65770265,"name":"ray","full_name":"secant/ray","owner":{"login":"secant","id":5145763,"avatar_url":"https://avatars.githubusercontent.com/u/5145763?v=3","gravatar_id":"","url":"https://api.github.com/users/secant","html_url":"https://github.com/secant","followers_url":"https://api.github.com/users/secant/followers","following_url":"https://api.github.com/users/secant/following{/other_user}","gists_url":"https://api.github.com/users/secant/gists{/gist_id}","starred_url":"https://api.github.com/users/secant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/secant/subscriptions","organizations_url":"https://api.github.com/users/secant/orgs","repos_url":"https://api.github.com/users/secant/repos","events_url":"https://api.github.com/users/secant/events{/privacy}","received_events_url":"https://api.github.com/users/secant/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/secant/ray","description":"This is an experimental distributed execution engine","fork":true,"url":"https://api.github.com/repos/secant/ray","forks_url":"https://api.github.com/repos/secant/ray/forks","keys_url":"https://api.github.com/repos/secant/ray/keys{/key_id}","collaborators_url":"https://api.github.com/repos/secant/ray/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/secant/ray/teams","hooks_url":"https://api.github.com/repos/secant/ray/hooks","issue_events_url":"https://api.github.com/repos/secant/ray/issues/events{/number}","events_url":"https://api.github.com/repos/secant/ray/events","assignees_url":"https://api.github.com/repos/secant/ray/assignees{/user}","branches_url":"https://api.github.com/repos/secant/ray/branches{/branch}","tags_url":"https://api.github.com/repos/secant/ray/tags","blobs_url":"https://api.github.com/repos/secant/ray/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/secant/ray/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/secant/ray/git/refs{/sha}","trees_url":"https://api.github.com/repos/secant/ray/git/trees{/sha}","statuses_url":"https://api.github.com/repos/secant/ray/statuses/{sha}","languages_url":"https://api.github.com/repos/secant/ray/languages","stargazers_url":"https://api.github.com/repos/secant/ray/stargazers","contributors_url":"https://api.github.com/repos/secant/ray/contributors","subscribers_url":"https://api.github.com/repos/secant/ray/subscribers","subscription_url":"https://api.github.com/repos/secant/ray/subscription","commits_url":"https://api.github.com/repos/secant/ray/commits{/sha}","git_commits_url":"https://api.github.com/repos/secant/ray/git/commits{/sha}","comments_url":"https://api.github.com/repos/secant/ray/comments{/number}","issue_comment_url":"https://api.github.com/repos/secant/ray/issues/comments{/number}","contents_url":"https://api.github.com/repos/secant/ray/contents/{+path}","compare_url":"https://api.github.com/repos/secant/ray/compare/{base}...{head}","merges_url":"https://api.github.com/repos/secant/ray/merges","archive_url":"https://api.github.com/repos/secant/ray/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/secant/ray/downloads","issues_url":"https://api.github.com/repos/secant/ray/issues{/number}","pulls_url":"https://api.github.com/repos/secant/ray/pulls{/number}","milestones_url":"https://api.github.com/repos/secant/ray/milestones{/number}","notifications_url":"https://api.github.com/repos/secant/ray/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/secant/ray/labels{/name}","releases_url":"https://api.github.com/repos/secant/ray/releases{/id}","deployments_url":"https://api.github.com/repos/secant/ray/deployments","created_at":"2016-08-15T22:51:01Z","updated_at":"2016-08-15T22:51:02Z","pushed_at":"2016-08-16T23:38:40Z","git_url":"git://github.com/secant/ray.git","ssh_url":"git@github.com:secant/ray.git","clone_url":"https://github.com/secant/ray.git","svn_url":"https://github.com/secant/ray","homepage":"","size":2185,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"amplab:master","ref":"master","sha":"314bc9e980d94ebb9b6f5da6d51f59505ea73c75","user":{"login":"amplab","id":1438454,"avatar_url":"https://avatars.githubusercontent.com/u/1438454?v=3","gravatar_id":"","url":"https://api.github.com/users/amplab","html_url":"https://github.com/amplab","followers_url":"https://api.github.com/users/amplab/followers","following_url":"https://api.github.com/users/amplab/following{/other_user}","gists_url":"https://api.github.com/users/amplab/gists{/gist_id}","starred_url":"https://api.github.com/users/amplab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amplab/subscriptions","organizations_url":"https://api.github.com/users/amplab/orgs","repos_url":"https://api.github.com/users/amplab/repos","events_url":"https://api.github.com/users/amplab/events{/privacy}","received_events_url":"https://api.github.com/users/amplab/received_events","type":"Organization","site_admin":false},"repo":{"id":51269228,"name":"ray","full_name":"amplab/ray","owner":{"login":"amplab","id":1438454,"avatar_url":"https://avatars.githubusercontent.com/u/1438454?v=3","gravatar_id":"","url":"https://api.github.com/users/amplab","html_url":"https://github.com/amplab","followers_url":"https://api.github.com/users/amplab/followers","following_url":"https://api.github.com/users/amplab/following{/other_user}","gists_url":"https://api.github.com/users/amplab/gists{/gist_id}","starred_url":"https://api.github.com/users/amplab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amplab/subscriptions","organizations_url":"https://api.github.com/users/amplab/orgs","repos_url":"https://api.github.com/users/amplab/repos","events_url":"https://api.github.com/users/amplab/events{/privacy}","received_events_url":"https://api.github.com/users/amplab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/amplab/ray","description":"This is an experimental distributed execution engine","fork":false,"url":"https://api.github.com/repos/amplab/ray","forks_url":"https://api.github.com/repos/amplab/ray/forks","keys_url":"https://api.github.com/repos/amplab/ray/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amplab/ray/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amplab/ray/teams","hooks_url":"https://api.github.com/repos/amplab/ray/hooks","issue_events_url":"https://api.github.com/repos/amplab/ray/issues/events{/number}","events_url":"https://api.github.com/repos/amplab/ray/events","assignees_url":"https://api.github.com/repos/amplab/ray/assignees{/user}","branches_url":"https://api.github.com/repos/amplab/ray/branches{/branch}","tags_url":"https://api.github.com/repos/amplab/ray/tags","blobs_url":"https://api.github.com/repos/amplab/ray/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amplab/ray/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amplab/ray/git/refs{/sha}","trees_url":"https://api.github.com/repos/amplab/ray/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amplab/ray/statuses/{sha}","languages_url":"https://api.github.com/repos/amplab/ray/languages","stargazers_url":"https://api.github.com/repos/amplab/ray/stargazers","contributors_url":"https://api.github.com/repos/amplab/ray/contributors","subscribers_url":"https://api.github.com/repos/amplab/ray/subscribers","subscription_url":"https://api.github.com/repos/amplab/ray/subscription","commits_url":"https://api.github.com/repos/amplab/ray/commits{/sha}","git_commits_url":"https://api.github.com/repos/amplab/ray/git/commits{/sha}","comments_url":"https://api.github.com/repos/amplab/ray/comments{/number}","issue_comment_url":"https://api.github.com/repos/amplab/ray/issues/comments{/number}","contents_url":"https://api.github.com/repos/amplab/ray/contents/{+path}","compare_url":"https://api.github.com/repos/amplab/ray/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amplab/ray/merges","archive_url":"https://api.github.com/repos/amplab/ray/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amplab/ray/downloads","issues_url":"https://api.github.com/repos/amplab/ray/issues{/number}","pulls_url":"https://api.github.com/repos/amplab/ray/pulls{/number}","milestones_url":"https://api.github.com/repos/amplab/ray/milestones{/number}","notifications_url":"https://api.github.com/repos/amplab/ray/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amplab/ray/labels{/name}","releases_url":"https://api.github.com/repos/amplab/ray/releases{/id}","deployments_url":"https://api.github.com/repos/amplab/ray/deployments","created_at":"2016-02-07T22:18:40Z","updated_at":"2016-08-15T19:53:06Z","pushed_at":"2016-08-17T21:02:30Z","git_url":"git://github.com/amplab/ray.git","ssh_url":"git@github.com:amplab/ray.git","clone_url":"https://github.com/amplab/ray.git","svn_url":"https://github.com/amplab/ray","homepage":"","size":2416,"stargazers_count":10,"watchers_count":10,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":39,"forks":3,"open_issues":39,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/amplab/ray/pulls/381"},"html":{"href":"https://github.com/amplab/ray/pull/381"},"issue":{"href":"https://api.github.com/repos/amplab/ray/issues/381"},"comments":{"href":"https://api.github.com/repos/amplab/ray/issues/381/comments"},"review_comments":{"href":"https://api.github.com/repos/amplab/ray/pulls/381/comments"},"review_comment":{"href":"https://api.github.com/repos/amplab/ray/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/amplab/ray/pulls/381/commits"},"statuses":{"href":"https://api.github.com/repos/amplab/ray/statuses/ddd7ed7ea646d6ee96dc4827ef9f122fdc477da5"}}}}
{"actor":{"display_login":"ejj"}}