Skip to main content

containerization-docker

Docker image conventions for xberg-io services — multi-stage builds, layer caching, security hardening (non-root, vulnerability scanning, no baked secrets), signal handling and healthchecks, and tagging. Load when writing or editing Dockerfiles, container build pipelines, or image release tagging.

Quellinformationen

Repository
xberg-io/agent-conventions
Letzte Quellaktivität
22. Juli 2026 um 15:14
Erkannte Sprache von SKILL.md
Englisch
Sterne
8
Forks
2

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
containerization-docker
description
Docker image conventions for xberg-io services — multi-stage builds, layer caching, security hardening (non-root, vulnerability scanning, no baked secrets), signal handling and healthchecks, and tagging. Load when writing or editing Dockerfiles, container build pipelines, or image release tagging.
# Containerization / Docker - Multi-stage builds: full toolchain builder → minimal runtime (Alpine/Distroless/Scratch) - Layer caching: copy Cargo.toml/Cargo.lock first, then source; use BuildKit mount caches - Security: non-root user, Trivy/Grype scanning (fail on HIGH/CRITICAL), no secrets in image - Signal handling: tini/dumb-init as PID 1, HEALTHCHECK for orchestrator detection - Tagging: semantic version + commit SHA, never reuse tags
Auf GitHub ansehen