writing-dockerfiles

Community

Dockerfile best practices and optimizations.

Authorsumik5
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill guides Dockerfile creation with multi-stage builds, caching, security hardening, and image size minimization.

Core Features & Use Cases

  • Multi-stage builds: Separate build and runtime stages for smaller images.
  • Caching strategies: Layer optimization and ordering for caching.
  • Security hardening: Non-root usage and distroless images.

Quick Start

Create a Dockerfile for a simple Node app using multi-stage build.

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: writing-dockerfiles
Download link: https://github.com/sumik5/dotfiles/archive/main.zip#writing-dockerfiles

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.