Add Dockerfile and docker-master build target

Two-stage build: golang:1.25-alpine builder, alpine:3.21 runtime.
Produces a minimal container image for mcp-master.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-02 22:52:10 -07:00
parent 22a836812f
commit 5da307cab5
2 changed files with 27 additions and 0 deletions

View File

@@ -32,6 +32,11 @@ proto-lint:
buf lint
buf breaking --against '.git#branch=master,subdir=proto'
docker-master:
podman build -f Dockerfile.master \
--build-arg VERSION=$(shell git describe --tags --always --dirty) \
-t mcr.svc.mcp.metacircular.net:8443/mcp-master:$(shell git describe --tags --always --dirty) .
clean:
rm -f mcp mcp-agent mcp-master