docker-optimization

Community

Slimmer, faster Python Docker images.

Authorrandalmurphal
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Optimize Docker images for Python applications including multi-stage builds (70%+ size reduction), security scanning with Trivy, layer caching, and distroless base images. Use when creating Dockerfiles, reducing image size, improving build performance, or scanning for vulnerabilities.

Core Features & Use Cases

  • Multi-stage Builds: Separate build and runtime to minimize image size.
  • Distroless Runtime: Highest security with no shell.
  • Layer Caching & .dockerignore: Faster builds and smaller contexts.

Quick Start

Start with a multi-stage Dockerfile; use distroless for production builds and run security scans.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: docker-optimization
Download link: https://github.com/randalmurphal/claude-config/archive/main.zip#docker-optimization

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.