ivanshamaev/de-agent-skills/docker-data-envs
Claude Code and agent skill by ivanshamaev/de-agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Docker for data engineering environments — multi-stage Dockerfiles for dbt/Spark/Airflow images, BuildKit layer caching (--mount=type=cache), private registries (ghcr.io/Harbor), docker buildx multi-platform builds, Docker Compose local data stacks (Spark+Airflow+Kafka+MinIO+Postgres), BuildKit secrets for private PyPI, security hardening (non-root user, slim base images, read-only FS), CI/CD with GitHub Actions build-push-action
Install
npx vskill@latest install ivanshamaev/de-agent-skills/docker-data-envsSKILL.md
The same SKILL.md was published earlier as ivanshamaev/de-agent-skills/docker-data-envs.
Docker for Data Environments
When to Use
Load this skill when the user needs to:
- Write or review Dockerfiles for data tools (dbt, Spark, Airflow, Flink, Trino, etc.)
- Optimize Docker layer caching for faster CI/CD builds
- Push/pull images to private registries (ghcr.io, Harbor) with proper tagging
- Build multi-platform images with
docker buildxfor amd64/arm64 - Stand up a local data stack with Docker Compose (Spark, Airflow, Kafka, MinIO, Postgres)
- Securely pass private PyPI tokens or other secrets at build time with BuildKit
- Harden container images: non-root user, minimal base, read-only filesystem,
.dockerignore - Wire up GitHub Actions CI/CD pipelines that build and push data tool images
Multi-Stage Dockerfiles for Data Tools
dbt Image
Build: Python base, install adapters from requirements.txt, copy project last.
requirements.txt example:
Spark Image
Build: OpenJDK slim, add JARs, install PySpark + Python dependencies.
Airflow Custom Image
Extend the official image with custom providers and packages.
requirements-airflow.txt example:
Layer Caching Strategy
Rule: order instructions from least-changed to most-changed.
Use --mount=type=cache so pip and apt caches survive cache misses:
Separate stable and volatile requirements files:
Private Registry: ghcr.io and Harbor
Image Tagging Strategy
Use a combination of semantic version and git SHA for full traceability:
Push/Pull — ghcr.io
Push/Pull — Harbor (self-hosted)
docker buildx Multi-Platform Setup
Docker Compose for Local Data Stacks
Complete compose.yaml for a local Spark + Airflow + Postgres + MinIO + Kafka + Schema Registry stack:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/docker_data_envs/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ivanshamaev/de-agent-skills/docker-data-envs)