docker-extend

Create user-specific Dockerfile.user and docker-compose.override.yml for personal customization.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/ChatGPT-KB/Archon-mirror --skill docker-extend
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docker-extend
Source: https://github.com/ChatGPT-KB/Archon-mirror/tree/main/.claude/skills/docker-extend
Command: npx skills add https://github.com/ChatGPT-KB/Archon-mirror --skill docker-extend

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Helps users extend Docker with personal tools and configurations without modifying maintainer files, keeping the core images clean.

Core Features & Use Cases

  • Create per-user Dockerfile.user and docker-compose.override.yml to keep changes local and gitignored.
  • Detect dev vs deploy contexts and adjust file locations accordingly.
  • Copy example files when missing and allow adding requested tools via a simple edit.
  • Provide a final rebuild command to apply changes.

Quick Start

Run the docker-extend tool and specify the tools you want to install, for example vim ripgrep.

Frequently Asked Questions about docker-extend

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add personal tools to a Docker environment without modifying maintainer files?

To add personal tools without modifying maintainer files, you can create a user-specific Dockerfile.user and docker-compose.override.yml. These files are automatically gitignored to keep your local Docker customization isolated from the core project.

What is the best way to extend a Dockerfile with local configurations?

The best way to extend a Dockerfile locally is by using a Dockerfile.user file. This approach detects your dev or deploy context and applies your personal tooling configurations while keeping the maintainer's original Dockerfile clean and unaltered.

Can I use docker-compose.override.yml to install local development tools?

Yes, you can use docker-compose.override.yml to install local development tools. The override file allows you to inject personal configurations and tools into your Docker containers locally, ensuring the changes remain gitignored and do not affect the shared project.

How do I set up a personalized Docker configuration if example templates are missing?

If example templates are missing, the personalization process automatically copies the necessary example files into your project. You can then edit these files to add requested tools like vim or ripgrep and run a final rebuild command to apply changes.

Does Docker personalization work in both root and deploy contexts?

Docker personalization works in both root and deploy contexts by automatically detecting the current environment. It adjusts the file locations for your Dockerfile.user and docker-compose.override.yml accordingly to ensure proper local tooling integration.

Why should I not edit the main Dockerfile directly for local tools?

You should not edit the main Dockerfile directly because it modifies maintainer files and risks committing local tools to the shared repository. Using a gitignored Dockerfile.user ensures the core images remain clean and your personal configurations stay local.