I was playing today with CircleCI building docker images (using machine + circleci/gcp-gcr@0.6.1), and found it updates gcloud sdk each time from (:edge):
Google Cloud SDK 177.0.0
bq 2.0.27
core 2017.10.20
gsutil 4.28
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
Thanks!