Build your own gcloud Docker Image including docker-buildx
Stay organized with collections
Save and categorize content based on your preferences.
To get docker-buildx dependency on the gcloud :alpine image,
use the following Dockerfile:
FROMdocker:28.0.4asstatic-docker-source# get latest dockerFROMgcr.io/google.com/cloudsdktool/google-cloud-cli:alpineCOPY--from=static-docker-source/usr/local/libexec/docker/cli-plugins/docker-buildx/usr/local/libexec/docker/cli-plugins/docker-buildx
To get docker-buildx dependency on the gcloud
:debain_component_based image, use the following Dockerfile:
FROMdocker:28.0.4asstatic-docker-source# get latest dockerFROMgcr.io/google.com/cloudsdktool/google-cloud-cli:debain_component_basedCOPY--from=static-docker-source/usr/local/libexec/docker/cli-plugins/docker-buildx/usr/local/libexec/docker/cli-plugins/docker-buildx
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[],[]]