mirror of https://github.com/nealey/core-env
add gcloud
This commit is contained in:
parent
428aec0ebc
commit
efc2a68c0f
13
functions
13
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 \
|
||||
|
|
Loading…
Reference in New Issue