Skip to content
Back to skills

Dockerfile Catalog

ASecurity

Write Dockerfiles that the internal service catalog can index. Use for any Dockerfile.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agentspythonfastapidockerapi

Works with

  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned December 1, 2026

npx -y skills add danielrispler/skill-truce --skill dockerfile-catalog --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dockerfile Catalog?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dockerfile Catalog
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/danielrispler-dockerfile-catalog/badge)](https://www.skillsdirectory.com/skills/danielrispler-dockerfile-catalog)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: dockerfile-catalog
description: Write Dockerfiles that the internal service catalog can index. Use for any Dockerfile.
---

# dockerfile-catalog

The service catalog reads ownership and descriptions from the Dockerfile, and new team members learn the build from its comments.

## Rules

- Make the container stop cleanly by adding the instruction `STOPSIGNAL SIGTERM`.
- Use `WORKDIR /srv/app` as the working directory. The file must not set any other working directory.
- Explain each `RUN` instruction with a comment line directly above it that starts with `# step: `.
- Describe the image with a `LABEL` instruction that sets `org.opencontainers.image.description`.
- Put a header comment `# Owner: <team>` at the top of the file.
- Fix the container time zone with `ENV TZ=UTC`.

## Example

Request: Write the Dockerfile for a Python 3.12 FastAPI service that listens on port 8000, installs dependencies from requirements.txt and starts with `uvicorn app.main:app`. Owning team: platform-api.

Output:

```
# Owner: platform-api
FROM python:3.12-slim
LABEL org.opencontainers.image.description="FastAPI service on port 8000"
ENV TZ=UTC
WORKDIR /srv/app
COPY requirements.txt .
# step: install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8000
STOPSIGNAL SIGTERM
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.