Skip to main content
Glama

Unrestricted Development MCP Server

docker_build

Build Docker images from Dockerfiles by specifying build context path, tags, build arguments, and target stages to create containerized applications.

Instructions

Build a Docker image from a Dockerfile

Input Schema

NameRequiredDescriptionDefault
pathYesBuild context path (directory containing Dockerfile)
tagNoName and optionally a tag (format: "name:tag")
dockerfileNoName of Dockerfile (default: Dockerfile)
buildArgsNoBuild-time variables
targetNoSet target build stage
noCacheNoDo not use cache when building
cwdNoWorking directory

Input Schema (JSON Schema)

{ "properties": { "buildArgs": { "additionalProperties": { "type": "string" }, "description": "Build-time variables", "type": "object" }, "cwd": { "description": "Working directory", "type": "string" }, "dockerfile": { "description": "Name of Dockerfile (default: Dockerfile)", "type": "string" }, "noCache": { "default": false, "description": "Do not use cache when building", "type": "boolean" }, "path": { "description": "Build context path (directory containing Dockerfile)", "type": "string" }, "tag": { "description": "Name and optionally a tag (format: \"name:tag\")", "type": "string" }, "target": { "description": "Set target build stage", "type": "string" } }, "required": [ "path" ], "type": "object" }

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/ConnorBoetig-dev/mcp2'

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