container-build
Every project makes an explicit container decision; deployable services default to a tested application image.
- License 许可
- MIT
- 最近更新
- 2026-11-07
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- container-build
- description
- Every project makes an explicit container decision; deployable services default to a tested application image.
03 SKILL.md 正文
Container Build
Policy
Every project must make an explicit container decision. Deployable services and web applications default to a tested application image unless evidence supports a documented exception.
Libraries, mobile apps, desktop apps and Godot projects may record
containerisation as not_applicable with a reason in PROJECT_PROFILE.toon.
Required artifacts (when applicable)
DockerfileorContainerfile;- multi-stage build where useful;
- non-root runtime user;
- meaningful
.dockerignore; - pinned base image or a documented update policy;
- health check where practical;
.agentic-template/bin/project image;.agentic-template/bin/project image-test.
image-test
image-test must:
- build the image;
- start a container from it;
- perform a meaningful smoke or health request;
- stop the container;
- clean up the container and any dangling resources.
It must fail loudly on build errors, unhealthy startup, or cleanup failure.
Profile state
Record in PROJECT_PROFILE.toon:
containers:
application_image: built | not_applicable
image_test: .agentic-template/bin/project image-test
base_image: ...
runtime_user: non-root
reason: ...
Do not
- Run containers as root when a non-root user is practical.
- Leave
application_image: unknownafter/specialise. - Commit brittle or unpinned base images without an update policy.
- Run
image-testwithout meaningful cleanup.
04 同仓库更多 Skills
agentic-template
Start or continue work in this repository using the canonical AGENTS.md contract and repository skill catalog.
wiki-tidy
Reconcile the wiki against the knowledge graph, specs and code; prune stale, keep links resolving.
update-handoff
Update HANDOFF.toon with current semantic work state.
test-first
Drive meaningful behaviour changes with the smallest useful failing test.
test-change
Select and run tests that prove a change at suitable fidelity.
specify
Create proportional OpenSpec-shaped structured change proposals for meaningful changes.