mirror of https://github.com/nealey/core-env
gcloud that actually works
This commit is contained in:
parent
e1276282bd
commit
0902fbd2fd
|
@ -38,11 +38,11 @@ _dev_appserver () {
|
||||||
|
|
||||||
unalias gcloud 2>/dev/null
|
unalias gcloud 2>/dev/null
|
||||||
gcloud () {
|
gcloud () {
|
||||||
dh \
|
docker run \
|
||||||
--rm \
|
--rm \
|
||||||
-it \
|
-it \
|
||||||
-w "$(pwd)" \
|
|
||||||
--net=host \
|
--net=host \
|
||||||
|
-v $HOME/.config:/.config \
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||||
-v /usr/bin/docker:/usr/bin/docker:ro \
|
-v /usr/bin/docker:/usr/bin/docker:ro \
|
||||||
google/cloud-sdk gcloud "$@"
|
google/cloud-sdk gcloud "$@"
|
||||||
|
|
Loading…
Reference in New Issue