Skip to main content
Glama

docker_build

Create Docker images by building from a Dockerfile, specifying context, tags, build arguments, and platform options. Supports multi-stage builds, cache control, and base image updates.

Instructions

Build a Docker image from a Dockerfile

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
build_argsNoBuild arguments as key-value pairs
contextNoBuild context path (default: current directory)
dockerfileNoPath to Dockerfile (relative to context)
no_cacheNoDo not use cache when building
platformNoTarget platform (e.g., linux/amd64, linux/arm64)
pullNoAlways attempt to pull newer version of base image
tagNoTag for the built image (e.g., myapp:latest)
targetNoTarget stage for multi-stage builds

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/block/vscode-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server