Created
May 24, 2020 15:22
-
-
Save rmchale/91564b6c02c9a60bb91bfd2880fabb07 to your computer and use it in GitHub Desktop.
Gcloud Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from debian:stable | |
# install gcloud | |
RUN apt-get install -y lsb-release | |
RUN apt-get install -y gnupg2 | |
RUN echo "deb http://packages.cloud.google.com/apt cloud-sdk-$(lsb_release -c -s) main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list | |
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - | |
# RUN cat /etc/apt/sources.list.d/google-cloud-sdk.list | |
RUN apt-get update && apt-get install -y google-cloud-sdk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment