Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Determine Cloud SDK (gcloud) version update strategy #73

Open
busunkim96 opened this issue May 8, 2020 · 0 comments
Open

Determine Cloud SDK (gcloud) version update strategy #73

busunkim96 opened this issue May 8, 2020 · 0 comments
Labels
type: process A process-related concern. May include testing, release, or the like.

Comments

@busunkim96
Copy link
Contributor

busunkim96 commented May 8, 2020

Some images always install the latest version of Cloud SDK. Others use a pinned version.

Make a decision as to which option is more appropriate and make this consistent across the images.

Latest (using installer):

curl -sSL https://sdk.cloud.google.com | bash -s -- --install-dir=/usr/local/gcloud

Pinned (using versioned archive):

ENV CLOUD_SDK_VERSION 253.0.0
# Use system python for cloud sdk.
ENV CLOUDSDK_PYTHON /usr/bin/python
RUN wget https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-$CLOUD_SDK_VERSION-linux-x86_64.tar.gz
RUN tar xzf google-cloud-sdk-$CLOUD_SDK_VERSION-linux-x86_64.tar.gz
RUN /google-cloud-sdk/install.sh
ENV PATH /google-cloud-sdk/bin:$PATH

Installation guide:
https://cloud.google.com/sdk/docs/downloads-interactive

@yoshi-automation yoshi-automation added 🚨 This issue needs some love. triage me I really want to be triaged. labels Feb 25, 2021
@JustinBeckwith JustinBeckwith added the type: process A process-related concern. May include testing, release, or the like. label Feb 25, 2021
@yoshi-automation yoshi-automation removed triage me I really want to be triaged. 🚨 This issue needs some love. labels Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: process A process-related concern. May include testing, release, or the like.
Projects
None yet
Development

No branches or pull requests

3 participants