Last active
November 13, 2018 20:22
-
-
Save yurifrl/e8012705f56a4c4fc16f44903d585f6d to your computer and use it in GitHub Desktop.
gcloud cli
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
#!/usr/bin/env sh | |
docker run --rm \ | |
-t $([[ -t 0 ]] && echo "-i") \ | |
-w /workspace \ | |
-v "$PWD:/workspace" \ | |
-v /usr/bin/docker:/usr/bin/docker \ | |
-v /var/run/docker.sock:/var/run/docker.sock \ | |
-v kube-data:/root \ | |
gcr.io/cloud-builders/gcloud "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment