From efc2a68c0fb70370c7cf76a45b3bcac37e37753c Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Thu, 9 Nov 2017 17:01:28 +0000 Subject: [PATCH] add gcloud --- functions | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/functions b/functions index 7c62508..bbee6f9 100644 --- a/functions +++ b/functions @@ -36,6 +36,19 @@ _dev_appserver () { dev_appserver.py --host=0.0.0.0 --admin_host=0.0.0.0 /app "$@" } +unalias gloud 2>/dev/null +gcloud () { + dh \ + --rm \ + -it \ + -w "$(pwd)" \ + --net=host \ + -v /var/run/docker.sock:/var/run/docker.sock \ + -v /usr/bin/docker:/usr/bin/docker:ro \ + google/cloud-sdk gcloud "$@" +} + + dbtl () { dh \ --rm \