mitodl/agent-kit/docker-uv-image-builds

Claude Code and agent skill by mitodl/agent-kit

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Build Docker images for Python services following team conventions. Use this skill when writing Dockerfiles, authoring CI image build pipelines, or adding a new service — covers mitodl image naming, git short-ref tags, relocatable uv venvs, and shared library handling.

Install

npx vskill@latest install mitodl/agent-kit/docker-uv-image-builds

SKILL.md

Docker Image Builds for Python Services

Image naming

Images follow the pattern: mitodl/<service-name>

The service name should match the application or code location name used elsewhere in configuration (Helm values, Pulumi stacks, Concourse pipelines).

Image tags

Tag images with the git short ref (7-character SHA):

bash
GIT_TAG=$(git rev-parse --short HEAD)
docker build -t mitodl/${SERVICE_NAME}:${GIT_TAG} .

Do not use latest as a production tag.

Python environment inside the image

Use a relocatable virtual environment so the venv works after Docker layer assembly:

dockerfile
WORKDIR /app
COPY pyproject.toml uv.lock ./
RUN uv venv --relocatable /app/.venv && \
uv sync --frozen --no-dev

Shared libraries

Install shared internal libraries (e.g. ol-orchestrate-lib) as build-time dependencies — do not mount them as Docker volumes at runtime. Add them to pyproject.toml and let uv sync install them during the image build.

Build context & .dockerignore

Exclude development artifacts:

text
.venv/
__pycache__/
*.pyc
.git/

Concourse CI integration

Concourse pipelines use paths: filters on git resources to trigger image rebuilds only when relevant files change. When adding a new service, add its path to the corresponding pipeline's git resource paths list.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
5
7-day trend score
14

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/mitodl/agent-kit/docker-uv-image-builds/badge)](https://verified-skill.com/skills/mitodl/agent-kit/docker-uv-image-builds)

Something wrong with this skill or its page? Tell us.