-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
So bloated #297
Comments
Agree, size is an issue! We are facing long CI pipelines because of this |
Seems clear that Google needs the money that they charge us for downloading the additional size. Just really atrocious. |
A new version of docker image (use tag :stable-alpha) with a much smaller footprint is now available for testing. Please feel free to test the image out and provide feedback as appropriate. To pull the new image use: |
I am trying to figure out how to try this. We currently mostly use other images and install gcloud sometimes on those images, to use things like docker and use gcloud for auth and configure docker. Is there some way to do the install that is also smaller? Thank you! |
If you want to continue to use other images and install gcloud, it might be useful to look at their Dockerfile, which is here for stable-alpha: For some of the Dockerfile (e.g. Google AppEngine Base) https://github.com/GoogleCloudPlatform/cloud-sdk-docker/blob/master/google_appengine_base/Dockerfile) they do this step, which seems fairly efficient:
Alternately, for some tasks we are able to skip the Gcloud image. For example, to push an image to GCP, since - echo ${GCLOUD_API_KEYFILE} | base64 -d > /tmp/gcloud-api-key.json
- cat /tmp/gcloud-api-key.json | docker login -u _json_key --password-stdin https://gcr.io
- docker image push $IMAGE_NAME We are still using the cloud SDK for authenticated actions with kubectl. Would really love a Docker image or other method that allows the authenticated actions with kubectl without any other portion of the Google Cloud SDK. |
Hi @twocs, The new |
I literally only want to use
gcloud auth
with a service account that can push to a bucket. Yet the smallest image available is over 200MB. Please make images that givegcloud auth
and absolutely nothing else.The text was updated successfully, but these errors were encountered: