{"action":"created","comment":{"url":"https://api.github.com/repos/netlify/build-image/pulls/comments/212024671","pull_request_review_id":148568736,"id":212024671,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjAyNDY3MQ==","diff_hunk":"@@ -394,6 +394,19 @@ ENV GIMME_GO_VERSION \"1.10\"\n ENV GIMME_ENV_PREFIX \"/opt/buildhome/.gimme/env\"\n RUN gimme\n \n+################################################################################\n+#\n+# Erlang+Elixir\n+#\n+################################################################################\n+USER root\n+# Erlang solutions repository\n+RUN wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && \\\n+    dpkg -i erlang-solutions_1.0_all.deb\n+RUN apt-get update","path":"Dockerfile","position":13,"original_position":13,"commit_id":"6e6adef72df002da0b422755206cfe1cc5c7d19e","original_commit_id":"6e6adef72df002da0b422755206cfe1cc5c7d19e","user":{"login":"brycekahle","id":1010430,"node_id":"MDQ6VXNlcjEwMTA0MzA=","avatar_url":"https://avatars1.githubusercontent.com/u/1010430?v=4","gravatar_id":"","url":"https://api.github.com/users/brycekahle","html_url":"https://github.com/brycekahle","followers_url":"https://api.github.com/users/brycekahle/followers","following_url":"https://api.github.com/users/brycekahle/following{/other_user}","gists_url":"https://api.github.com/users/brycekahle/gists{/gist_id}","starred_url":"https://api.github.com/users/brycekahle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brycekahle/subscriptions","organizations_url":"https://api.github.com/users/brycekahle/orgs","repos_url":"https://api.github.com/users/brycekahle/repos","events_url":"https://api.github.com/users/brycekahle/events{/privacy}","received_events_url":"https://api.github.com/users/brycekahle/received_events","type":"User","site_admin":false},"body":"It looks like the official erlang instructions under \"Alternatively: adding the repository entry manually\" apply. I think this would do it:\r\n\r\n```\r\napt-key adv --fetch-keys https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc && \\\r\napt-add-repository -y 'deb https://packages.erlang-solutions.com/ubuntu trusty contrib' && \\\r\n```\r\nand lower down in the list of packages add `esl-erlang` and `elixir`.","created_at":"2018-08-22T16:36:57Z","updated_at":"2018-08-22T16:36:58Z","html_url":"https://github.com/netlify/build-image/pull/188#discussion_r212024671","pull_request_url":"https://api.github.com/repos/netlify/build-image/pulls/188","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/netlify/build-image/pulls/comments/212024671"},"html":{"href":"https://github.com/netlify/build-image/pull/188#discussion_r212024671"},"pull_request":{"href":"https://api.github.com/repos/netlify/build-image/pulls/188"}},"in_reply_to_id":212001668},"pull_request":{"url":"https://api.github.com/repos/netlify/build-image/pulls/188","id":207923118,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3OTIzMTE4","html_url":"https://github.com/netlify/build-image/pull/188","diff_url":"https://github.com/netlify/build-image/pull/188.diff","patch_url":"https://github.com/netlify/build-image/pull/188.patch","issue_url":"https://api.github.com/repos/netlify/build-image/issues/188","number":188,"state":"open","locked":false,"title":"Add erlang and elixir","user":{"login":"vorce","id":983376,"node_id":"MDQ6VXNlcjk4MzM3Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/983376?v=4","gravatar_id":"","url":"https://api.github.com/users/vorce","html_url":"https://github.com/vorce","followers_url":"https://api.github.com/users/vorce/followers","following_url":"https://api.github.com/users/vorce/following{/other_user}","gists_url":"https://api.github.com/users/vorce/gists{/gist_id}","starred_url":"https://api.github.com/users/vorce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vorce/subscriptions","organizations_url":"https://api.github.com/users/vorce/orgs","repos_url":"https://api.github.com/users/vorce/repos","events_url":"https://api.github.com/users/vorce/events{/privacy}","received_events_url":"https://api.github.com/users/vorce/received_events","type":"User","site_admin":false},"body":"Install erlang and [Elixir](https://elixir-lang.org/) in the build image. This will allow continuous deployments to use elixir (and erlang) to build websites.\r\n\r\nI tested the image by building it and then executing `elixir --version` inside it:\r\n\r\n```\r\n❯ docker run -ti <image> elixir --version\r\nErlang/OTP 21 [erts-10.0] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe]\r\n\r\nElixir 1.7.0 (compiled with Erlang/OTP 20)\r\n```","created_at":"2018-08-13T09:46:48Z","updated_at":"2018-08-22T16:36:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"661b7c2c830fb3fd91c090d68b54ae71cb04b6fa","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/netlify/build-image/pulls/188/commits","review_comments_url":"https://api.github.com/repos/netlify/build-image/pulls/188/comments","review_comment_url":"https://api.github.com/repos/netlify/build-image/pulls/comments{/number}","comments_url":"https://api.github.com/repos/netlify/build-image/issues/188/comments","statuses_url":"https://api.github.com/repos/netlify/build-image/statuses/6e6adef72df002da0b422755206cfe1cc5c7d19e","head":{"label":"vorce:add_elixir","ref":"add_elixir","sha":"6e6adef72df002da0b422755206cfe1cc5c7d19e","user":{"login":"vorce","id":983376,"node_id":"MDQ6VXNlcjk4MzM3Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/983376?v=4","gravatar_id":"","url":"https://api.github.com/users/vorce","html_url":"https://github.com/vorce","followers_url":"https://api.github.com/users/vorce/followers","following_url":"https://api.github.com/users/vorce/following{/other_user}","gists_url":"https://api.github.com/users/vorce/gists{/gist_id}","starred_url":"https://api.github.com/users/vorce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vorce/subscriptions","organizations_url":"https://api.github.com/users/vorce/orgs","repos_url":"https://api.github.com/users/vorce/repos","events_url":"https://api.github.com/users/vorce/events{/privacy}","received_events_url":"https://api.github.com/users/vorce/received_events","type":"User","site_admin":false},"repo":{"id":144553555,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQ1NTM1NTU=","name":"build-image","full_name":"vorce/build-image","owner":{"login":"vorce","id":983376,"node_id":"MDQ6VXNlcjk4MzM3Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/983376?v=4","gravatar_id":"","url":"https://api.github.com/users/vorce","html_url":"https://github.com/vorce","followers_url":"https://api.github.com/users/vorce/followers","following_url":"https://api.github.com/users/vorce/following{/other_user}","gists_url":"https://api.github.com/users/vorce/gists{/gist_id}","starred_url":"https://api.github.com/users/vorce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vorce/subscriptions","organizations_url":"https://api.github.com/users/vorce/orgs","repos_url":"https://api.github.com/users/vorce/repos","events_url":"https://api.github.com/users/vorce/events{/privacy}","received_events_url":"https://api.github.com/users/vorce/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vorce/build-image","description":"This is the build image used for running automated builds","fork":true,"url":"https://api.github.com/repos/vorce/build-image","forks_url":"https://api.github.com/repos/vorce/build-image/forks","keys_url":"https://api.github.com/repos/vorce/build-image/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vorce/build-image/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vorce/build-image/teams","hooks_url":"https://api.github.com/repos/vorce/build-image/hooks","issue_events_url":"https://api.github.com/repos/vorce/build-image/issues/events{/number}","events_url":"https://api.github.com/repos/vorce/build-image/events","assignees_url":"https://api.github.com/repos/vorce/build-image/assignees{/user}","branches_url":"https://api.github.com/repos/vorce/build-image/branches{/branch}","tags_url":"https://api.github.com/repos/vorce/build-image/tags","blobs_url":"https://api.github.com/repos/vorce/build-image/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vorce/build-image/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vorce/build-image/git/refs{/sha}","trees_url":"https://api.github.com/repos/vorce/build-image/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vorce/build-image/statuses/{sha}","languages_url":"https://api.github.com/repos/vorce/build-image/languages","stargazers_url":"https://api.github.com/repos/vorce/build-image/stargazers","contributors_url":"https://api.github.com/repos/vorce/build-image/contributors","subscribers_url":"https://api.github.com/repos/vorce/build-image/subscribers","subscription_url":"https://api.github.com/repos/vorce/build-image/subscription","commits_url":"https://api.github.com/repos/vorce/build-image/commits{/sha}","git_commits_url":"https://api.github.com/repos/vorce/build-image/git/commits{/sha}","comments_url":"https://api.github.com/repos/vorce/build-image/comments{/number}","issue_comment_url":"https://api.github.com/repos/vorce/build-image/issues/comments{/number}","contents_url":"https://api.github.com/repos/vorce/build-image/contents/{+path}","compare_url":"https://api.github.com/repos/vorce/build-image/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vorce/build-image/merges","archive_url":"https://api.github.com/repos/vorce/build-image/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vorce/build-image/downloads","issues_url":"https://api.github.com/repos/vorce/build-image/issues{/number}","pulls_url":"https://api.github.com/repos/vorce/build-image/pulls{/number}","milestones_url":"https://api.github.com/repos/vorce/build-image/milestones{/number}","notifications_url":"https://api.github.com/repos/vorce/build-image/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vorce/build-image/labels{/name}","releases_url":"https://api.github.com/repos/vorce/build-image/releases{/id}","deployments_url":"https://api.github.com/repos/vorce/build-image/deployments","created_at":"2018-08-13T08:51:53Z","updated_at":"2018-08-13T08:51:55Z","pushed_at":"2018-08-15T07:27:26Z","git_url":"git://github.com/vorce/build-image.git","ssh_url":"git@github.com:vorce/build-image.git","clone_url":"https://github.com/vorce/build-image.git","svn_url":"https://github.com/vorce/build-image","homepage":null,"size":199,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"netlify:master","ref":"master","sha":"7c49b266ed8abd833dee6036ec0a4b9ee887658a","user":{"login":"netlify","id":7892489,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4OTI0ODk=","avatar_url":"https://avatars1.githubusercontent.com/u/7892489?v=4","gravatar_id":"","url":"https://api.github.com/users/netlify","html_url":"https://github.com/netlify","followers_url":"https://api.github.com/users/netlify/followers","following_url":"https://api.github.com/users/netlify/following{/other_user}","gists_url":"https://api.github.com/users/netlify/gists{/gist_id}","starred_url":"https://api.github.com/users/netlify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netlify/subscriptions","organizations_url":"https://api.github.com/users/netlify/orgs","repos_url":"https://api.github.com/users/netlify/repos","events_url":"https://api.github.com/users/netlify/events{/privacy}","received_events_url":"https://api.github.com/users/netlify/received_events","type":"Organization","site_admin":false},"repo":{"id":33746671,"node_id":"MDEwOlJlcG9zaXRvcnkzMzc0NjY3MQ==","name":"build-image","full_name":"netlify/build-image","owner":{"login":"netlify","id":7892489,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4OTI0ODk=","avatar_url":"https://avatars1.githubusercontent.com/u/7892489?v=4","gravatar_id":"","url":"https://api.github.com/users/netlify","html_url":"https://github.com/netlify","followers_url":"https://api.github.com/users/netlify/followers","following_url":"https://api.github.com/users/netlify/following{/other_user}","gists_url":"https://api.github.com/users/netlify/gists{/gist_id}","starred_url":"https://api.github.com/users/netlify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netlify/subscriptions","organizations_url":"https://api.github.com/users/netlify/orgs","repos_url":"https://api.github.com/users/netlify/repos","events_url":"https://api.github.com/users/netlify/events{/privacy}","received_events_url":"https://api.github.com/users/netlify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/netlify/build-image","description":"This is the build image used for running automated builds","fork":false,"url":"https://api.github.com/repos/netlify/build-image","forks_url":"https://api.github.com/repos/netlify/build-image/forks","keys_url":"https://api.github.com/repos/netlify/build-image/keys{/key_id}","collaborators_url":"https://api.github.com/repos/netlify/build-image/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/netlify/build-image/teams","hooks_url":"https://api.github.com/repos/netlify/build-image/hooks","issue_events_url":"https://api.github.com/repos/netlify/build-image/issues/events{/number}","events_url":"https://api.github.com/repos/netlify/build-image/events","assignees_url":"https://api.github.com/repos/netlify/build-image/assignees{/user}","branches_url":"https://api.github.com/repos/netlify/build-image/branches{/branch}","tags_url":"https://api.github.com/repos/netlify/build-image/tags","blobs_url":"https://api.github.com/repos/netlify/build-image/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/netlify/build-image/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/netlify/build-image/git/refs{/sha}","trees_url":"https://api.github.com/repos/netlify/build-image/git/trees{/sha}","statuses_url":"https://api.github.com/repos/netlify/build-image/statuses/{sha}","languages_url":"https://api.github.com/repos/netlify/build-image/languages","stargazers_url":"https://api.github.com/repos/netlify/build-image/stargazers","contributors_url":"https://api.github.com/repos/netlify/build-image/contributors","subscribers_url":"https://api.github.com/repos/netlify/build-image/subscribers","subscription_url":"https://api.github.com/repos/netlify/build-image/subscription","commits_url":"https://api.github.com/repos/netlify/build-image/commits{/sha}","git_commits_url":"https://api.github.com/repos/netlify/build-image/git/commits{/sha}","comments_url":"https://api.github.com/repos/netlify/build-image/comments{/number}","issue_comment_url":"https://api.github.com/repos/netlify/build-image/issues/comments{/number}","contents_url":"https://api.github.com/repos/netlify/build-image/contents/{+path}","compare_url":"https://api.github.com/repos/netlify/build-image/compare/{base}...{head}","merges_url":"https://api.github.com/repos/netlify/build-image/merges","archive_url":"https://api.github.com/repos/netlify/build-image/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/netlify/build-image/downloads","issues_url":"https://api.github.com/repos/netlify/build-image/issues{/number}","pulls_url":"https://api.github.com/repos/netlify/build-image/pulls{/number}","milestones_url":"https://api.github.com/repos/netlify/build-image/milestones{/number}","notifications_url":"https://api.github.com/repos/netlify/build-image/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/netlify/build-image/labels{/name}","releases_url":"https://api.github.com/repos/netlify/build-image/releases{/id}","deployments_url":"https://api.github.com/repos/netlify/build-image/deployments","created_at":"2015-04-10T19:27:00Z","updated_at":"2018-08-21T09:58:49Z","pushed_at":"2018-08-15T07:27:27Z","git_url":"git://github.com/netlify/build-image.git","ssh_url":"git@github.com:netlify/build-image.git","clone_url":"https://github.com/netlify/build-image.git","svn_url":"https://github.com/netlify/build-image","homepage":null,"size":226,"stargazers_count":128,"watchers_count":128,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":65,"mirror_url":null,"archived":false,"open_issues_count":20,"license":null,"forks":65,"open_issues":20,"watchers":128,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/netlify/build-image/pulls/188"},"html":{"href":"https://github.com/netlify/build-image/pull/188"},"issue":{"href":"https://api.github.com/repos/netlify/build-image/issues/188"},"comments":{"href":"https://api.github.com/repos/netlify/build-image/issues/188/comments"},"review_comments":{"href":"https://api.github.com/repos/netlify/build-image/pulls/188/comments"},"review_comment":{"href":"https://api.github.com/repos/netlify/build-image/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/netlify/build-image/pulls/188/commits"},"statuses":{"href":"https://api.github.com/repos/netlify/build-image/statuses/6e6adef72df002da0b422755206cfe1cc5c7d19e"}},"author_association":"NONE"}}
{"actor":{"display_login":"brycekahle"}}