Docker container application

From jordanhubbard/literate-ai · View interactive version

Docker container application is an AI agent skill from the GitHub repository jordanhubbard/literate-ai. Docker container image assembly from selected packaging Flavors, declared entrypoints, and parent-container Flavor closure. Use for Literate AI workflow tasks.

How to use this skill

Skill file

Docker container image assembly

Assemble the generated Dockerfile from exactly three contribution sources, in this

order of authority: explicit Component specifications, selected Flavor requirements,

then this skill's preferences below them.

Inputs

  1. Parent containers (base layers). Resolve the deploy.container-base

capability closure. Every providing container Flavor — including Flavors inherited

through the repository lineage DAG — contributes exactly one immutable OCI image

reference. Emit FROM instructions using those complete digest-qualified

references in resolved DAG order, root closure first. A tag is only a human-readable

upgrade hint and is never build authority. If no base provider resolves, stop with a

concrete missing-capability diagnostic; never invent or look up an ambient image.

  1. Packages. For each selected packaging Flavor (package-pip, package-apt,

package-brew, package-winget, package-chocolatey, package-conan), emit its

runtime-install actions inside the appropriate layer: pip requirements install for

Python wheels, apt-get install for Debian packages, and equivalent actions per

packaging target. Never fetch packages outside these declared actions.

  1. Entrypoints and scripts. Copy only files invoked by the Component's declared

entrypoints from the built artifact closure into the image, and declare each

entrypoint so docker run reaches it directly.

Construction rules

identity supplied by the generation context.

exact version; do not represent a selected base as an unresolved versionRange.

packages, artifact copy, entrypoint declaration.

stop with a concrete host prerequisite instead of improvising.

inside it before any deployment gate consumes the result.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.