Created
September 4, 2017 15:17
-
-
Save salrashid123/09ff761e53e2ed6fecf8067d35709360 to your computer and use it in GitHub Desktop.
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 alpine:3.5 | |
ARG CLOUD_SDK_VERSION=160.0.0 | |
ENV PATH /google-cloud-sdk/bin:$PATH | |
RUN apk --no-cache add curl python py-crcmod bash libc6-compat && \ | |
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 | |
VOLUME ["/root/.config"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment