Skip to content

Build: all-devops

all-devops is the base stage plus a single cloud layer that installs both the AWS and Google Cloud tooling.

flowchart LR
  B["base"] --> L["all-devops layer<br/>AWS pip packages, AWS CLI v2,<br/>Session Manager plugin,<br/>Google Cloud SDK + components"]
  L --> I["all-devops:local"]

  classDef base fill:#0891b2,stroke:#0e7490,color:#fff
  classDef all fill:#059669,stroke:#047857,color:#fff
  class B base
  class L,I all

Build

docker build --target all-devops -t all-devops:local .

Build arguments used by this layer: GCLOUD_VERSION (Google Cloud SDK). Every base build argument applies too. For example:

docker build --target all-devops \
  --build-arg GCLOUD_VERSION=501.0.0 \
  --build-arg PYTHON_VERSION=3.14.7 \
  --build-arg PYTHON_VERSION_TO_USE=python3.14 \
  -t all-devops:custom .

Verify

docker run --rm all-devops:local bash -c '
  terraform version && aws --version && session-manager-plugin --version &&
  gcloud --version | head -1 && gke-gcloud-auth-plugin --version && trivy --version | head -1'

Run

docker run -it --rm \
  -v "$PWD":/srv -w /srv \
  -v ~/.aws:/root/.aws \
  -v ~/.config/gcloud:/root/.config/gcloud \
  all-devops:local

See Using all-devops for everyday usage.