Getting gcloud into the path

I was able to install the google-cloud-sdk into my docker image (yay!) however I have to reference gcloud as ~/google-cloud-sdk/bin/gcloud - I cannot figure out how to get it into the path. The ./install.sh script is supposed to do it but it doesn’t.

We install the google cloud sdk like this: https://github.com/gitpod-io/gitpod/blob/master/dev/image/Dockerfile#L118

If that doesn’t help, please share more information like a snapshot or so (DM me if private).

Thanks! I think the ENV line is what I’d not figured out!

Follow-up question - is there an easier way to authenticate than gcloud auth login? That gives me a long url - which I have to cut and paste into a browser (it doesn’t seem to click) and then copy and paste an authentication string. Is there a way to create a persistent login in the docker image?