docker_build
Build Docker images from Dockerfiles to containerize applications, supporting build arguments, multi-stage targets, and platform specifications.
Instructions
Build a Docker image from a Dockerfile
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Build context path (default: current directory) | |
| dockerfile | No | Path to Dockerfile (relative to context) | |
| tag | No | Tag for the built image (e.g., myapp:latest) | |
| build_args | No | Build arguments as key-value pairs | |
| target | No | Target stage for multi-stage builds | |
| no_cache | No | Do not use cache when building | |
| pull | No | Always attempt to pull newer version of base image | |
| platform | No | Target platform (e.g., linux/amd64, linux/arm64) |