Created
October 3, 2017 14:41
-
-
Save jozko/27e79507dbf474e823a8c5d045856968 to your computer and use it in GitHub Desktop.
gcloud compatible Docker CE image
This file contains 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 docker:17.06.1-ce | |
ENV CLOUD_SDK_VERSION 171.0.0 | |
ENV PATH /google-cloud-sdk/bin:$PATH | |
RUN apk --no-cache add \ | |
curl \ | |
python \ | |
py-crcmod \ | |
bash \ | |
libc6-compat \ | |
openssh-client \ | |
git \ | |
&& curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-${CLOUD_SDK_VERSION}-linux-x86_64.tar.gz && \ | |
tar xzf google-cloud-sdk-${CLOUD_SDK_VERSION}-linux-x86_64.tar.gz && \ | |
rm google-cloud-sdk-${CLOUD_SDK_VERSION}-linux-x86_64.tar.gz && \ | |
ln -s /lib /lib64 && \ | |
gcloud config set core/disable_usage_reporting true && \ | |
gcloud config set component_manager/disable_update_check true && \ | |
gcloud config set metrics/environment github_docker_image |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment