Docker Gcloud Cli
Description
A custom gcloud sdk image with additional plugins.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
**docker-gcloud-cli**
About
A custom [gcloud sdk](https://cloud.google.com/sdk?hl=en) image with additional plugins.
Wait... but why?
Because I prefer to have such things run in a container, rather than installing them locally on my machine.
But while google provides a [docker image for gcloud sdk](https://cloud.google.com/sdk/docs/downloads-docker), the default images lack some additional plugins that I use daily.
Thankfully, it's quite easy to [install additional components](https://cloud.google.com/sdk/docs/downloads-docker#installing_additional_components).
Usage
I have a bash `gcloud_wrapper` function [defined in my dotfiles](https://github.com/serpro69/dotfiles/blob/764fc9f63527dfc8dcf5dd47ffdfebd9cf907158/extra#L16):
➜ which gcloud_wrapper
gcloud_wrapper () {
local docker_cmd=("docker" "run" "--rm" "-ti" "-u" "$(id -u):$(id -g)" "-v" "/etc/passwd:/etc/passwd" "-v" "${HOME}/.config/gcloud:${HOME}/.config/gcloud" "-v" "${HOME}/.kube:${HOME}/.kube" "-v" "$(pwd):${HOME}/workdir" "-w" "${HOME}/workdir")
local image_name="serpro69/google-cloud-cli"
local bash_mode=false
local args=()
print_usage () {
echo "Usage: gcloud_wrapper [--bash-exec] [--mount-docker] [gcloud_command [args...]]"
echo ""
echo "Options:"
echo " --bash-exec Start an interactive bash shell inside the Docker container."
echo " --mount-docker Mount Docker configuration directory (\$HOME/.docker) inside the container."
echo ""
echo "Description:"
echo " This function facilitates running Google Cloud CLI commands inside a Docker container"
echo " using the 'serpro69/google-cloud-cli' image. It ensures necessa
Related Skills
Docker
---
DevOps Kubernetes
---
DevOps AWS Skills
AWS development with CDK best practices, cost optimization MCP servers, and serverless/event-driven architectu
DevOps Composio Split
Manage Split feature flags and experiments
DevOps **claude-code-router**
(25.3k ⭐) - Use Claude Code as the foundation for coding infrastructure, allowing you to decide how to interac
DevOps CLAUDE.md CI/CD Wiki
Community patterns for CLAUDE.md configuration in CI/CD pipelines.
DevOps