Skip to content

Commit f62fae7

Browse files
authored
Merge pull request #311 from bobidle/readme
README: update docker examples and docs references
2 parents 4557822 + f37dc69 commit f62fae7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The Google Cloud CLI Docker Images (comprising the `:latest`, `:slim`, `:alpine`
44

55
The `:latest` tag is Debian-based and includes default command
66
line tools of Google Cloud CLI (`gcloud`, `gsutil`, `bq`) as well several
7-
[additional components](https://cloud.google.com/sdk/downloads#apt-get).
7+
[additional components](https://cloud.google.com/sdk/docs/install#deb).
88

99
## Repositories
1010
The Google Cloud CLI Docker Image is hosted on [Container Registry](https://gcr.io/google.com/cloudsdktool/google-cloud-cli).
@@ -110,7 +110,7 @@ project_id1 GCPAppID 1071284184432
110110
111111
```
112112
You can set any Cloud SDK property via an ENV,
113-
[please read](https://cloud.google.com/sdk/docs/properties#setting_properties_via_environment_variables) and [here.](https://cloud.google.com/sdk/gcloud/reference/config)
113+
[please read](https://cloud.google.com/sdk/docs/properties#setting_properties_using_environment_variables) and [here.](https://cloud.google.com/sdk/gcloud/reference/config)
114114

115115
### Components Installed in Each Tag
116116

@@ -161,8 +161,8 @@ You can set any Cloud SDK property via an ENV,
161161

162162
```
163163
cd debian_slim/
164-
docker build --build-arg CLOUD_SDK_VERSION=159.0.0 \
165-
--build-arg INSTALL_COMPONENTS="google-cloud-sdk-datastore-emulator" \
164+
docker build --build-arg CLOUD_SDK_VERSION=372.0.0 \
165+
--build-arg INSTALL_COMPONENTS="google-cloud-cli-datastore-emulator=372.0.0-0" \
166166
-t my-cloud-sdk-docker:slim .
167167
```
168168

@@ -174,7 +174,7 @@ that uses the `cloud-sdk` image as the base image. For example, to add `kubectl`
174174

175175
```Dockerfile
176176
FROM gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine
177-
RUN apk --update add openjdk7-jre
177+
RUN apk --update add openjdk8-jre
178178
RUN gcloud components install app-engine-java kubectl
179179
```
180180

0 commit comments

Comments
 (0)