Skip to content

Request: Publish Docker image to container registry #3

Description

@DanielPBak

Summary

Would it be possible to publish pre-built Docker images to a container registry?

Use Case

We're deploying grpcmcp in Kubernetes as an MCP server to expose gRPC services. Currently, there's no official container image, so users have to build their own.

Registry Options

Any of these would be great:

  • GitHub Container Registry (GHCR) - ghcr.io/adiom-data/grpcmcp - free, integrates with GitHub Actions
  • Docker Hub - adiom/grpcmcp - widely used
  • Chainguard - cgr.dev/chainguard/grpcmcp - security-focused, minimal images
  • Alpine - if accepted into Alpine packages

Suggested Dockerfile

A simple multi-stage build:

FROM golang:1.22-alpine AS builder
RUN go install github.com/adiom-data/grpcmcp@latest

FROM alpine:3.19
RUN apk add --no-cache ca-certificates
COPY --from=builder /go/bin/grpcmcp /usr/local/bin/
ENTRYPOINT ["grpcmcp"]

Or even better, a distroless/scratch-based image for minimal attack surface.

Benefits

  • Easier Kubernetes deployments
  • No need for users to maintain custom builds
  • Version pinning via image tags
  • Security scanning by registry providers

Thanks for the great tool!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions