Registry / stefan-jansen

stefan-jansen/claude-code-toolkit/docker-optimization

Docker image optimization patterns including multi-stage builds, layer caching, security hardening, and size reduction techniques. Use when building Docker images, optimizing container size, improving build performance, or implementing Docker security best practices. Reduces image sizes by 70-90% and build times by 50-80%.

Agent skill · version 1.1.0 · from stefan-jansen/claude-code-toolkit

Install

npx yarkr-cli add skill:stefan-jansen/claude-code-toolkit/docker-optimization

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:stefan-jansen/claude-code-toolkit/docker-optimization
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:stefan-jansen/claude-code-toolkit/docker-optimization

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:stefan-jansen/claude-code-toolkit/docker-optimization

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.