AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Docker

skill-aretedriver-ai-skills-docker · by AreteDriver

Dockerfile Generator

No reviews yet
0 installs
35 views
0.0% view→install

Install

$ agentstack add skill-aretedriver-ai-skills-docker

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-aretedriver-ai-skills-docker)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Docker? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

/docker - Dockerfile Generator

Generate optimized Dockerfiles with best practices.

Usage

/docker                  # Auto-detect and generate
/docker python           # Python application
/docker rust             # Rust application (multi-stage)
/docker --slim           # Minimal image size

What This Skill Does

  1. Detect Application Type - Language, framework, dependencies
  2. Generate Dockerfile - Optimized for size and build speed
  3. Add .dockerignore - Exclude unnecessary files
  4. Multi-stage Builds - Separate build and runtime stages
  5. Security Hardening - Non-root user, minimal base image

Templates

Python Application

# Build stage
FROM python:3.11-slim as builder

WORKDIR /app
RUN pip install --no-cache-dir build
COPY pyproject.toml .
COPY src/ src/
RUN python -m build --wheel

# Runtime stage
FROM python:3.11-slim

WORKDIR /app
RUN useradd --create-home --shell /bin/bash app
COPY --from=builder /app/dist/*.whl .
RUN pip install --no-cache-dir *.whl && rm *.whl

USER app
ENTRYPOINT ["python", "-m", "myapp"]

Rust Application

# Build stage
FROM rust:1.75-slim as builder

WORKDIR /app
COPY Cargo.toml Cargo.lock ./
COPY src/ src/

RUN cargo build --release

# Runtime stage
FROM debian:bookworm-slim

RUN useradd --create-home --shell /bin/bash app
COPY --from=builder /app/target/release/myapp /usr/local/bin/

USER app
ENTRYPOINT ["myapp"]

.dockerignore

.git/
.gitignore
.venv/
__pycache__/
*.pyc
target/
*.md
.github/
tests/
Dockerfile
.dockerignore

Best Practices Applied

  1. Multi-stage builds - Smaller final image
  2. Layer caching - Dependencies before source code
  3. Non-root user - Security hardening
  4. Slim base images - Minimal attack surface
  5. .dockerignore - Faster builds, smaller context
  6. No cache mounts - Reproducible builds
  7. Pinned versions - Reproducible base images

Instructions for Claude

When /docker is invoked:

  1. Detect project type - Check for pyproject.toml, Cargo.toml, etc.
  2. Identify entry point - Main module or binary
  3. Use multi-stage - Always separate build from runtime
  4. Minimize layers - Combine RUN commands where sensible
  5. Add .dockerignore - Create if missing
  6. Security - Non-root user, minimal base image
  7. Document - Add comments explaining non-obvious choices

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.