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.

Source facts

Repository
xberg-io/agent-conventions
Last source activity
July 22, 2026 at 15:14
Detected SKILL.md language
English
Stars
8
Forks
2

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
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
View on GitHub