{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/pulls/comments/116983604","pull_request_review_id":38648090,"id":116983604,"diff_hunk":"@@ -1,43 +1,65 @@\n-cloud-sdk-docker\n-================\n \n-> :warning: **IMPORTANT NOTE:** The base image for the `cloud-sdk` image will be changed to Alpine Linux on or after 5/15/17.\n-> For more information, please see: [#58](https://github.com/GoogleCloudPlatform/cloud-sdk-docker/issues/58)\n----\n+# Google Cloud SDK Docker\n \n-[`google/cloud-sdk`](https://index.docker.io/u/google/cloud-sdk/) is a\n-[Docker](https://docker.io) image bundling all the components and dependencies\n-of the [Google Cloud SDK](https://cloud.google.com/sdk/) including alpha and\n-beta components.\n \n-## Usage\n+Baseline image for the [Google Cloud SDK](https://cloud.google.com/sdk/).\n \n-Follow these instructions if you are running docker *outside* of Google Compute Engine:\n+Imaage includes default command line tools:\n+*  gcloud:  Default set of gcloud commands\n+*  gsutil:  Cloud Storage Command Line Tool\n+*  bq: BigQuery Command Line Tool\n \n-    # Get the cloud sdk image:\n-    $ docker pull google/cloud-sdk\n \n-    # Auth & save the credentials in gcloud-config volumes:\n-    $ docker run -t -i --name gcloud-config google/cloud-sdk gcloud init\n+## Dockerfile\n \n-    # If you would like to use service account instead please look here:\n-    $ docker run -t -i --name gcloud-config google/cloud-sdk gcloud auth activate-service-account <your-service-account-email> --key-file /tmp/your-key.p12 --project <your-project-id>\n+To use the prebuilt **Alpine** based image, see\n \n-    # Re-use the credentials from gcloud-config volumes & run sdk commands:\n-    $ docker run --rm -ti --volumes-from gcloud-config google/cloud-sdk gcloud info\n-    $ docker run --rm -ti --volumes-from gcloud-config google/cloud-sdk gcloud components list\n-    $ docker run --rm -ti --volumes-from gcloud-config google/cloud-sdk gcloud compute instances list\n-    $ docker run --rm -ti --volumes-from gcloud-config google/cloud-sdk gsutil ls\n+* [https://hub.docker.com/r/google/cloud-sdk/](https://hub.docker.com/r/google/cloud-sdk/)\n \n-If you are using this image from *within* [Google Compute\n-Engine](https://cloud.google.com/compute/). If you enable a Service Account with\n-the necessary scopes, there is no need to auth or use a config volume:\n \n-    # Get the cloud sdk image:\n-    $ docker pull google/cloud-sdk\n+```bash\n+docker run -ti google/cloud-sdk:latest\n+```\n \n-    # Just start using the sdk commands:\n-    $ docker run --rm -ti google/cloud-sdk gcloud info\n-    $ docker run --rm -ti google/cloud-sdk gcloud components list\n-    $ docker run --rm -ti google/cloud-sdk gcutil listinstances\n-    $ docker run --rm -ti google/cloud-sdk gsutil ls\n+or via tagged version of the SDK:\n+\n+```bash\n+docker run -ti google/cloud-sdk:153.0.0\n+```\n+\n+>> **NOTE:** you may need to install the optional components:","path":"README.md","position":62,"original_position":62,"commit_id":"4ad652632c79b99ccb9f93b6cf1a3c626f1d2a77","original_commit_id":"4ad652632c79b99ccb9f93b6cf1a3c626f1d2a77","user":{"login":"salrashid123","id":11149054,"avatar_url":"https://avatars2.githubusercontent.com/u/11149054?v=3","gravatar_id":"","url":"https://api.github.com/users/salrashid123","html_url":"https://github.com/salrashid123","followers_url":"https://api.github.com/users/salrashid123/followers","following_url":"https://api.github.com/users/salrashid123/following{/other_user}","gists_url":"https://api.github.com/users/salrashid123/gists{/gist_id}","starred_url":"https://api.github.com/users/salrashid123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salrashid123/subscriptions","organizations_url":"https://api.github.com/users/salrashid123/orgs","repos_url":"https://api.github.com/users/salrashid123/repos","events_url":"https://api.github.com/users/salrashid123/events{/privacy}","received_events_url":"https://api.github.com/users/salrashid123/received_events","type":"User","site_admin":false},"body":"ok","created_at":"2017-05-17T12:18:49Z","updated_at":"2017-05-17T12:18:49Z","html_url":"https://github.com/GoogleCloudPlatform/cloud-sdk-docker/pull/68#discussion_r116983604","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/pulls/68","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/pulls/comments/116983604"},"html":{"href":"https://github.com/GoogleCloudPlatform/cloud-sdk-docker/pull/68#discussion_r116983604"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/pulls/68"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/pulls/68","id":117963109,"html_url":"https://github.com/GoogleCloudPlatform/cloud-sdk-docker/pull/68","diff_url":"https://github.com/GoogleCloudPlatform/cloud-sdk-docker/pull/68.diff","patch_url":"https://github.com/GoogleCloudPlatform/cloud-sdk-docker/pull/68.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/issues/68","number":68,"state":"open","locked":false,"title":"Add rebased cloudSDK dockerimage","user":{"login":"salrashid123","id":11149054,"avatar_url":"https://avatars2.githubusercontent.com/u/11149054?v=3","gravatar_id":"","url":"https://api.github.com/users/salrashid123","html_url":"https://github.com/salrashid123","followers_url":"https://api.github.com/users/salrashid123/followers","following_url":"https://api.github.com/users/salrashid123/following{/other_user}","gists_url":"https://api.github.com/users/salrashid123/gists{/gist_id}","starred_url":"https://api.github.com/users/salrashid123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salrashid123/subscriptions","organizations_url":"https://api.github.com/users/salrashid123/orgs","repos_url":"https://api.github.com/users/salrashid123/repos","events_url":"https://api.github.com/users/salrashid123/events{/privacy}","received_events_url":"https://api.github.com/users/salrashid123/received_events","type":"User","site_admin":false},"body":"Update documentation with usecases and rebase core docker image as described in:\r\n\r\n* Issue# [https://github.com/GoogleCloudPlatform/cloud-sdk-docker/issues/58](https://github.com/GoogleCloudPlatform/cloud-sdk-docker/issues/58)\r\n","created_at":"2017-04-27T15:14:38Z","updated_at":"2017-05-17T12:18:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6face37f67e3e254855d436f8ddb431d4b95af8a","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/pulls/68/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/pulls/68/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/issues/68/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/statuses/4ad652632c79b99ccb9f93b6cf1a3c626f1d2a77","head":{"label":"salrashid123:add-rebased-image","ref":"add-rebased-image","sha":"4ad652632c79b99ccb9f93b6cf1a3c626f1d2a77","user":{"login":"salrashid123","id":11149054,"avatar_url":"https://avatars2.githubusercontent.com/u/11149054?v=3","gravatar_id":"","url":"https://api.github.com/users/salrashid123","html_url":"https://github.com/salrashid123","followers_url":"https://api.github.com/users/salrashid123/followers","following_url":"https://api.github.com/users/salrashid123/following{/other_user}","gists_url":"https://api.github.com/users/salrashid123/gists{/gist_id}","starred_url":"https://api.github.com/users/salrashid123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salrashid123/subscriptions","organizations_url":"https://api.github.com/users/salrashid123/orgs","repos_url":"https://api.github.com/users/salrashid123/repos","events_url":"https://api.github.com/users/salrashid123/events{/privacy}","received_events_url":"https://api.github.com/users/salrashid123/received_events","type":"User","site_admin":false},"repo":{"id":88644288,"name":"cloud-sdk-docker-1","full_name":"salrashid123/cloud-sdk-docker-1","owner":{"login":"salrashid123","id":11149054,"avatar_url":"https://avatars2.githubusercontent.com/u/11149054?v=3","gravatar_id":"","url":"https://api.github.com/users/salrashid123","html_url":"https://github.com/salrashid123","followers_url":"https://api.github.com/users/salrashid123/followers","following_url":"https://api.github.com/users/salrashid123/following{/other_user}","gists_url":"https://api.github.com/users/salrashid123/gists{/gist_id}","starred_url":"https://api.github.com/users/salrashid123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salrashid123/subscriptions","organizations_url":"https://api.github.com/users/salrashid123/orgs","repos_url":"https://api.github.com/users/salrashid123/repos","events_url":"https://api.github.com/users/salrashid123/events{/privacy}","received_events_url":"https://api.github.com/users/salrashid123/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/salrashid123/cloud-sdk-docker-1","description":"Docker image with all the components of the Google Cloud SDK","fork":true,"url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1","forks_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/forks","keys_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/teams","hooks_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/hooks","issue_events_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/issues/events{/number}","events_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/events","assignees_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/assignees{/user}","branches_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/branches{/branch}","tags_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/tags","blobs_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/statuses/{sha}","languages_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/languages","stargazers_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/stargazers","contributors_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/contributors","subscribers_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/subscribers","subscription_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/subscription","commits_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/contents/{+path}","compare_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/merges","archive_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/downloads","issues_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/issues{/number}","pulls_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/pulls{/number}","milestones_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/milestones{/number}","notifications_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/labels{/name}","releases_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/releases{/id}","deployments_url":"https://api.github.com/repos/salrashid123/cloud-sdk-docker-1/deployments","created_at":"2017-04-18T16:00:40Z","updated_at":"2017-04-18T16:00:41Z","pushed_at":"2017-05-16T19:36:08Z","git_url":"git://github.com/salrashid123/cloud-sdk-docker-1.git","ssh_url":"git@github.com:salrashid123/cloud-sdk-docker-1.git","clone_url":"https://github.com/salrashid123/cloud-sdk-docker-1.git","svn_url":"https://github.com/salrashid123/cloud-sdk-docker-1","homepage":"https://index.docker.io/u/google/cloud-sdk/","size":56,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"GoogleCloudPlatform:master","ref":"master","sha":"d236e97139303e5eb1cba1bacf3221a0fa6acce9","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars3.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":17276380,"name":"cloud-sdk-docker","full_name":"GoogleCloudPlatform/cloud-sdk-docker","owner":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars3.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/cloud-sdk-docker","description":"Docker image with all the components of the Google Cloud SDK","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/deployments","created_at":"2014-02-28T05:37:03Z","updated_at":"2017-05-15T14:02:52Z","pushed_at":"2017-05-16T19:36:10Z","git_url":"git://github.com/GoogleCloudPlatform/cloud-sdk-docker.git","ssh_url":"git@github.com:GoogleCloudPlatform/cloud-sdk-docker.git","clone_url":"https://github.com/GoogleCloudPlatform/cloud-sdk-docker.git","svn_url":"https://github.com/GoogleCloudPlatform/cloud-sdk-docker","homepage":"https://index.docker.io/u/google/cloud-sdk/","size":36,"stargazers_count":145,"watchers_count":145,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":53,"mirror_url":null,"open_issues_count":25,"forks":53,"open_issues":25,"watchers":145,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/pulls/68"},"html":{"href":"https://github.com/GoogleCloudPlatform/cloud-sdk-docker/pull/68"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/issues/68"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/issues/68/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/pulls/68/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/pulls/68/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloud-sdk-docker/statuses/4ad652632c79b99ccb9f93b6cf1a3c626f1d2a77"}}}}
{"actor":{"display_login":"salrashid123"}}