{"action":"created","comment":{"url":"https://api.github.com/repos/aspnet/aspnet-docker/pulls/comments/180615164","pull_request_review_id":111065402,"id":180615164,"diff_hunk":"@@ -0,0 +1,45 @@\n+HTTP 301 Moved Permanently\n+--------------------------\n+\n+**Where are the 2.1 aspnet-docker images?**\n+\n+In 2.1, the ASP.NET Core Docker images have migrated to https://github.com/dotnet/dotnet-docker.\n+\n+**How can I upgrade from 1.x/2.0 to 2.1?**\n+\n+You can upgrade to 2.1 and by changing the repository name in the `FROM` line in your Dockerfile using this mapping:\n+\n+Current | Upgrade\n+--------|--------------\n+`microsoft/aspnetcore:1.0`<br>`microsoft/aspnetcore:1.1`<br>`microsoft/aspnetcore:2.0` | `microsoft/dotnet:2.1-aspnetcore-runtime`\n+`microsoft/aspnetcore-build:1.0`<br>`microsoft/aspnetcore-build:1.1`<br>`microsoft/aspnetcore-build:2.0` | `microsoft/dotnet:2.1-sdk`\n+\n+**I was using NodeJS in `microsoft/aspnetcore-build`, but this is missing from `microsoft/dotnet:2.1-sdk`. What should I do?**\n+\n+You can either install NodeJS by adding a few lines of code to your Dockerfile that download and extract NodeJS, \n+or you can use the multi-stage feature of Docker and the official NodeJS images.\n+\n+Sample code to install NodeJS on your own:","path":"2.1/README.md","position":22,"original_position":22,"commit_id":"da3f8761bf2c465af1e9b5159cc41a94a3896774","original_commit_id":"da3f8761bf2c465af1e9b5159cc41a94a3896774","user":{"login":"MichaelSimons","id":8290530,"avatar_url":"https://avatars1.githubusercontent.com/u/8290530?v=4","gravatar_id":"","url":"https://api.github.com/users/MichaelSimons","html_url":"https://github.com/MichaelSimons","followers_url":"https://api.github.com/users/MichaelSimons/followers","following_url":"https://api.github.com/users/MichaelSimons/following{/other_user}","gists_url":"https://api.github.com/users/MichaelSimons/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelSimons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelSimons/subscriptions","organizations_url":"https://api.github.com/users/MichaelSimons/orgs","repos_url":"https://api.github.com/users/MichaelSimons/repos","events_url":"https://api.github.com/users/MichaelSimons/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelSimons/received_events","type":"User","site_admin":false},"body":"What sample do you see as the most common?  I was thinking multi-stage using the NodeJS image would be.  I think the most common sample should be listed first.","created_at":"2018-04-11T01:49:45Z","updated_at":"2018-04-11T01:53:59Z","html_url":"https://github.com/aspnet/aspnet-docker/pull/408#discussion_r180615164","pull_request_url":"https://api.github.com/repos/aspnet/aspnet-docker/pulls/408","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/aspnet/aspnet-docker/pulls/comments/180615164"},"html":{"href":"https://github.com/aspnet/aspnet-docker/pull/408#discussion_r180615164"},"pull_request":{"href":"https://api.github.com/repos/aspnet/aspnet-docker/pulls/408"}}},"pull_request":{"url":"https://api.github.com/repos/aspnet/aspnet-docker/pulls/408","id":180764607,"html_url":"https://github.com/aspnet/aspnet-docker/pull/408","diff_url":"https://github.com/aspnet/aspnet-docker/pull/408.diff","patch_url":"https://github.com/aspnet/aspnet-docker/pull/408.patch","issue_url":"https://api.github.com/repos/aspnet/aspnet-docker/issues/408","number":408,"state":"open","locked":false,"title":"Add README to 2.1 folder explaining where the 2.1 images have gone","user":{"login":"natemcmaster","id":2696087,"avatar_url":"https://avatars0.githubusercontent.com/u/2696087?v=4","gravatar_id":"","url":"https://api.github.com/users/natemcmaster","html_url":"https://github.com/natemcmaster","followers_url":"https://api.github.com/users/natemcmaster/followers","following_url":"https://api.github.com/users/natemcmaster/following{/other_user}","gists_url":"https://api.github.com/users/natemcmaster/gists{/gist_id}","starred_url":"https://api.github.com/users/natemcmaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natemcmaster/subscriptions","organizations_url":"https://api.github.com/users/natemcmaster/orgs","repos_url":"https://api.github.com/users/natemcmaster/repos","events_url":"https://api.github.com/users/natemcmaster/events{/privacy}","received_events_url":"https://api.github.com/users/natemcmaster/received_events","type":"User","site_admin":false},"body":"Follow up to #403 - For anyone coming to the repo and wondering what's up with 2.1...","created_at":"2018-04-11T00:54:11Z","updated_at":"2018-04-11T01:53:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bdffc2c1c337485817937d3b7a647691294ed84e","assignee":null,"assignees":[],"requested_reviewers":[{"login":"glennc","id":234688,"avatar_url":"https://avatars3.githubusercontent.com/u/234688?v=4","gravatar_id":"","url":"https://api.github.com/users/glennc","html_url":"https://github.com/glennc","followers_url":"https://api.github.com/users/glennc/followers","following_url":"https://api.github.com/users/glennc/following{/other_user}","gists_url":"https://api.github.com/users/glennc/gists{/gist_id}","starred_url":"https://api.github.com/users/glennc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glennc/subscriptions","organizations_url":"https://api.github.com/users/glennc/orgs","repos_url":"https://api.github.com/users/glennc/repos","events_url":"https://api.github.com/users/glennc/events{/privacy}","received_events_url":"https://api.github.com/users/glennc/received_events","type":"User","site_admin":false},{"login":"richlander","id":2608468,"avatar_url":"https://avatars3.githubusercontent.com/u/2608468?v=4","gravatar_id":"","url":"https://api.github.com/users/richlander","html_url":"https://github.com/richlander","followers_url":"https://api.github.com/users/richlander/followers","following_url":"https://api.github.com/users/richlander/following{/other_user}","gists_url":"https://api.github.com/users/richlander/gists{/gist_id}","starred_url":"https://api.github.com/users/richlander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richlander/subscriptions","organizations_url":"https://api.github.com/users/richlander/orgs","repos_url":"https://api.github.com/users/richlander/repos","events_url":"https://api.github.com/users/richlander/events{/privacy}","received_events_url":"https://api.github.com/users/richlander/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/aspnet/aspnet-docker/pulls/408/commits","review_comments_url":"https://api.github.com/repos/aspnet/aspnet-docker/pulls/408/comments","review_comment_url":"https://api.github.com/repos/aspnet/aspnet-docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aspnet/aspnet-docker/issues/408/comments","statuses_url":"https://api.github.com/repos/aspnet/aspnet-docker/statuses/da3f8761bf2c465af1e9b5159cc41a94a3896774","head":{"label":"aspnet:namc/http-301","ref":"namc/http-301","sha":"da3f8761bf2c465af1e9b5159cc41a94a3896774","user":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars3.githubusercontent.com/u/6476660?v=4","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"repo":{"id":26154750,"name":"aspnet-docker","full_name":"aspnet/aspnet-docker","owner":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars3.githubusercontent.com/u/6476660?v=4","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aspnet/aspnet-docker","description":"ASP.NET Core Docker","fork":false,"url":"https://api.github.com/repos/aspnet/aspnet-docker","forks_url":"https://api.github.com/repos/aspnet/aspnet-docker/forks","keys_url":"https://api.github.com/repos/aspnet/aspnet-docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aspnet/aspnet-docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aspnet/aspnet-docker/teams","hooks_url":"https://api.github.com/repos/aspnet/aspnet-docker/hooks","issue_events_url":"https://api.github.com/repos/aspnet/aspnet-docker/issues/events{/number}","events_url":"https://api.github.com/repos/aspnet/aspnet-docker/events","assignees_url":"https://api.github.com/repos/aspnet/aspnet-docker/assignees{/user}","branches_url":"https://api.github.com/repos/aspnet/aspnet-docker/branches{/branch}","tags_url":"https://api.github.com/repos/aspnet/aspnet-docker/tags","blobs_url":"https://api.github.com/repos/aspnet/aspnet-docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aspnet/aspnet-docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aspnet/aspnet-docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/aspnet/aspnet-docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aspnet/aspnet-docker/statuses/{sha}","languages_url":"https://api.github.com/repos/aspnet/aspnet-docker/languages","stargazers_url":"https://api.github.com/repos/aspnet/aspnet-docker/stargazers","contributors_url":"https://api.github.com/repos/aspnet/aspnet-docker/contributors","subscribers_url":"https://api.github.com/repos/aspnet/aspnet-docker/subscribers","subscription_url":"https://api.github.com/repos/aspnet/aspnet-docker/subscription","commits_url":"https://api.github.com/repos/aspnet/aspnet-docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/aspnet/aspnet-docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/aspnet/aspnet-docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/aspnet/aspnet-docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/aspnet/aspnet-docker/contents/{+path}","compare_url":"https://api.github.com/repos/aspnet/aspnet-docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aspnet/aspnet-docker/merges","archive_url":"https://api.github.com/repos/aspnet/aspnet-docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aspnet/aspnet-docker/downloads","issues_url":"https://api.github.com/repos/aspnet/aspnet-docker/issues{/number}","pulls_url":"https://api.github.com/repos/aspnet/aspnet-docker/pulls{/number}","milestones_url":"https://api.github.com/repos/aspnet/aspnet-docker/milestones{/number}","notifications_url":"https://api.github.com/repos/aspnet/aspnet-docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aspnet/aspnet-docker/labels{/name}","releases_url":"https://api.github.com/repos/aspnet/aspnet-docker/releases{/id}","deployments_url":"https://api.github.com/repos/aspnet/aspnet-docker/deployments","created_at":"2014-11-04T05:43:26Z","updated_at":"2018-04-10T03:31:54Z","pushed_at":"2018-04-11T00:54:11Z","git_url":"git://github.com/aspnet/aspnet-docker.git","ssh_url":"git@github.com:aspnet/aspnet-docker.git","clone_url":"https://github.com/aspnet/aspnet-docker.git","svn_url":"https://github.com/aspnet/aspnet-docker","homepage":"","size":578,"stargazers_count":695,"watchers_count":695,"language":"PowerShell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":174,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":174,"open_issues":9,"watchers":695,"default_branch":"master"}},"base":{"label":"aspnet:master","ref":"master","sha":"7cb9a65f607a862d8aab11133f71e51964afd728","user":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars3.githubusercontent.com/u/6476660?v=4","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"repo":{"id":26154750,"name":"aspnet-docker","full_name":"aspnet/aspnet-docker","owner":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars3.githubusercontent.com/u/6476660?v=4","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aspnet/aspnet-docker","description":"ASP.NET Core Docker","fork":false,"url":"https://api.github.com/repos/aspnet/aspnet-docker","forks_url":"https://api.github.com/repos/aspnet/aspnet-docker/forks","keys_url":"https://api.github.com/repos/aspnet/aspnet-docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aspnet/aspnet-docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aspnet/aspnet-docker/teams","hooks_url":"https://api.github.com/repos/aspnet/aspnet-docker/hooks","issue_events_url":"https://api.github.com/repos/aspnet/aspnet-docker/issues/events{/number}","events_url":"https://api.github.com/repos/aspnet/aspnet-docker/events","assignees_url":"https://api.github.com/repos/aspnet/aspnet-docker/assignees{/user}","branches_url":"https://api.github.com/repos/aspnet/aspnet-docker/branches{/branch}","tags_url":"https://api.github.com/repos/aspnet/aspnet-docker/tags","blobs_url":"https://api.github.com/repos/aspnet/aspnet-docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aspnet/aspnet-docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aspnet/aspnet-docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/aspnet/aspnet-docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aspnet/aspnet-docker/statuses/{sha}","languages_url":"https://api.github.com/repos/aspnet/aspnet-docker/languages","stargazers_url":"https://api.github.com/repos/aspnet/aspnet-docker/stargazers","contributors_url":"https://api.github.com/repos/aspnet/aspnet-docker/contributors","subscribers_url":"https://api.github.com/repos/aspnet/aspnet-docker/subscribers","subscription_url":"https://api.github.com/repos/aspnet/aspnet-docker/subscription","commits_url":"https://api.github.com/repos/aspnet/aspnet-docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/aspnet/aspnet-docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/aspnet/aspnet-docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/aspnet/aspnet-docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/aspnet/aspnet-docker/contents/{+path}","compare_url":"https://api.github.com/repos/aspnet/aspnet-docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aspnet/aspnet-docker/merges","archive_url":"https://api.github.com/repos/aspnet/aspnet-docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aspnet/aspnet-docker/downloads","issues_url":"https://api.github.com/repos/aspnet/aspnet-docker/issues{/number}","pulls_url":"https://api.github.com/repos/aspnet/aspnet-docker/pulls{/number}","milestones_url":"https://api.github.com/repos/aspnet/aspnet-docker/milestones{/number}","notifications_url":"https://api.github.com/repos/aspnet/aspnet-docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aspnet/aspnet-docker/labels{/name}","releases_url":"https://api.github.com/repos/aspnet/aspnet-docker/releases{/id}","deployments_url":"https://api.github.com/repos/aspnet/aspnet-docker/deployments","created_at":"2014-11-04T05:43:26Z","updated_at":"2018-04-10T03:31:54Z","pushed_at":"2018-04-11T00:54:11Z","git_url":"git://github.com/aspnet/aspnet-docker.git","ssh_url":"git@github.com:aspnet/aspnet-docker.git","clone_url":"https://github.com/aspnet/aspnet-docker.git","svn_url":"https://github.com/aspnet/aspnet-docker","homepage":"","size":578,"stargazers_count":695,"watchers_count":695,"language":"PowerShell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":174,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":174,"open_issues":9,"watchers":695,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aspnet/aspnet-docker/pulls/408"},"html":{"href":"https://github.com/aspnet/aspnet-docker/pull/408"},"issue":{"href":"https://api.github.com/repos/aspnet/aspnet-docker/issues/408"},"comments":{"href":"https://api.github.com/repos/aspnet/aspnet-docker/issues/408/comments"},"review_comments":{"href":"https://api.github.com/repos/aspnet/aspnet-docker/pulls/408/comments"},"review_comment":{"href":"https://api.github.com/repos/aspnet/aspnet-docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aspnet/aspnet-docker/pulls/408/commits"},"statuses":{"href":"https://api.github.com/repos/aspnet/aspnet-docker/statuses/da3f8761bf2c465af1e9b5159cc41a94a3896774"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"MichaelSimons"}}