I was playing today with CircleCI building docker images (using
firstname.lastname@example.org), and found it updates gcloud sdk each time from (:edge):
Google Cloud SDK 177.0.0
Google Cloud SDK 253.0.0
I always thought
edge means latest packages installed, or in terms of CCI it’s only related to docker* CLIs packages?
If so, and if I understand right, I have no way to bypass 40sec gcloud update on each build?
Thanks for help!
Not in Machine directly, no (or not until a new ISO is released by CircleCI).
However, you might be able to do this:
- if you move to the Docker executor
- if you install Docker in a Machine and then pull an image there
The basis of the solution I would try is to build another pipeline to obtain the image you need, pull updates into place, and push it into a private repo. This can be set to update on a weekly basis.
However, not all builds work inside Docker. The first question I would ask is why you are using Machine?
Sorry for the late reply
I’m new here, from brief docs reading I choose machine 'cause remote docker sounds a bit complex for simple task
I will try your solution instead