docker-python

Create Dockerfiles for Python applications with OpenCV dependencies on Debian Trixie.

3|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/ai-enhanced-engineer/aiee-skills --skill docker-python
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docker-python
Source: https://github.com/ai-enhanced-engineer/aiee-skills/tree/main/skills/docker-python
Command: npx skills add https://github.com/ai-enhanced-engineer/aiee-skills --skill docker-python

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Docker, Python, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of creating Dockerfiles for Python applications, addressing Debian Trixie breaking changes, OpenCV dependencies, setuptools compatibility, and port mapping verification.

Core Features & Use Cases

  • Dockerfile Patterns: Predefined patterns for Dockerfiles compatible with Python 3.12+ and Debian Trixie.
  • OpenCV Dependencies: Guidance on installing and configuring OpenCV dependencies for Python applications.
  • Setuptools Compatibility: Mitigation strategies for Python 3.12+ base images where pkg_resources is removed.
  • Port Mapping Verification: Instructions for verifying correct port mappings in docker-compose.yml.
  • Use Case: When you need to build a Dockerfile for a Python application that relies on OpenCV and needs to handle Debian Trixie breaking changes.

Quick Start

Create a Dockerfile for a Python application with OpenCV support using the provided patterns.

Frequently Asked Questions about docker-python

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

FAQPage Schema
How do I create a Dockerfile for a Python app with OpenCV dependencies?

Creating a Dockerfile for Python apps with OpenCV requires predefined patterns that configure Debian Trixie base images and resolve Python 3.12+ breaking changes. This approach streamlines dependency installation and ensures your OpenCV environment builds successfully.

Why does my Python 3.12 Docker build fail with missing pkg_resources?

Python 3.12 Docker builds fail because pkg_resources is removed in newer base images. Applying specific setuptools compatibility mitigation strategies resolves this missing module error, allowing your Python application to build and run successfully within the container.

Does Docker work with Debian Trixie for Python 3.12+ applications?

Docker works with Debian Trixie for Python 3.12+ applications by using tailored Dockerfile patterns. These patterns specifically address breaking changes in the base image, ensuring your Python environment, OpenCV dependencies, and setuptools configurations remain stable and compatible.

What is the best way to verify port mappings in docker-compose.yml?

The best way to verify port mappings in docker-compose.yml is to follow dedicated verification instructions designed for Python applications. This ensures your container correctly exposes services to the host, preventing network connectivity issues during deployment.

How do I install OpenCV in a Debian Trixie Docker container?

To install OpenCV in a Debian Trixie Docker container, apply specific dependency guidance for Python applications. This configures the Dockerfile to handle required system libraries, ensuring OpenCV functions correctly within the Python 3.12+ environment.