compose_build
Build Docker images for a Compose project, with support for selecting services, pulling base images, and disabling cache.
Instructions
Build images for a compose project.
args:
project_dir - Dir with the compose file (default: server cwd)
files - Explicit compose file paths (repeatable, -f)
project_name - Compose project name override
services - Specific services to build (default: all)
pull - Always attempt to pull a newer base image
no_cache - Do not use cache when building
timeout_seconds - Subprocess timeout (default 1800s)
returns: dict - {"returncode": int, "stdout": str, "stderr": str, "truncated": bool}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pull | No | ||
| files | No | ||
| no_cache | No | ||
| services | No | ||
| project_dir | No | ||
| project_name | No | ||
| timeout_seconds | No |