dockerignore-config

Community

Optimize Docker builds, secure your secrets.

Authormetasaver
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Misconfigured .dockerignore files lead to bloated Docker build contexts, slow build times, and potential leakage of sensitive development files (like .env or .git data). This skill automates the creation and validation of optimal .dockerignore configurations.

Core Features & Use Cases

  • Standard Template: Provides a canonical .dockerignore template to ensure best practices are followed from the start.
  • 4-Rule Validation Logic: Audits existing files against critical standards: excluding build artifacts, development files, CI/CD/testing files, and logs/temporary files.
  • Reduced Build Context: Ensures only necessary files are included in the Docker build, speeding up the process and reducing image size.
  • Security Enhancement: Prevents accidental inclusion of sensitive data like .env files or credentials in Docker images.
  • Use Case: Automatically audit an existing .dockerignore file in your project to ensure it correctly excludes node_modules, dist/, and all .env files, then apply recommended fixes.

Quick Start

Audit the current .dockerignore file for MetaSaver compliance.

Dependency Matrix

Required Modules

None required

Components

assets

💻 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: dockerignore-config
Download link: https://github.com/metasaver/claude-marketplace/archive/main.zip#dockerignore-config

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