Skip to content

Instantly share code, notes, and snippets.

@stevegt
Last active May 26, 2018 18:52
Show Gist options
  • Save stevegt/6bcb835e27117a41724b5caa864652e3 to your computer and use it in GitHub Desktop.
Save stevegt/6bcb835e27117a41724b5caa864652e3 to your computer and use it in GitHub Desktop.
keywords: docker build slow delay wait seconds
How to speed up docker build times when using gcloud or gcr:
gcloud components install docker-credential-gcr
docker-credential-gcr configure-docker
docker-credential-gcr gcr-login
docker-credential-gcr config --token-source="store,gcloud"
# or probably just need
docker-credential-gcr config --token-source="store"
Refs:
https://github.com/GoogleCloudPlatform/docker-credential-gcr
Master copy of this README is at:
https://gist.github.com/stevegt/6bcb835e27117a41724b5caa864652e3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment