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.

Informations de source

Dépôt
xberg-io/agent-conventions
Dernière activité de la source
14 octobre 2026 à 06:43
Langue détectée de SKILL.md
anglais
Étoiles
8
Forks
2

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
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
Voir sur GitHub