How ciscolearning/cml-docker-containers works
This repository automates building CML container images and their node/image definitions, then packages those artifacts as Debian packages or split ISO images. The documented flow starts with a developer invoking Make; container directories are discovered and can be opted out, then build recipes produce images and definitions for CML’s expected layout. ISO staging and packaging are additional output paths. Relationships are based on the README only; source excerpts were not provided, so implementation details beyond those documented are omitted.
Main entry points: build-split-isos.sh ISO builder · definitions.mk Definition generation · containers Container specs · Makefile Build entry
Components 15
Discovery and inputs
- Build entry
Makefile - Container specs
containers - Build selection
containers
Image and definitions
- Build recipes
templates/build.mk - Image preparation
templates/build.mk - Definition generation
templates/definitions.mk - Definition template
templates/image-definition.tmpl
Artifacts and packaging
- Image tarballs
BUILD - CML definitions
BUILD - Package configuration
templates/pkg.mk - Debian package
BUILD/debian
ISO outputs
- ISO grouping
containers - ISO builder
scripts/build-split-isos.sh - ISO images
Other components
- Developer
Connections 20
- Developer → Build entry: invokes
README.md - Build entry → Container specs: discovers
README.md - Build entry → Build selection: honors opt-outs
README.md - Container specs → Build selection: provides specs
README.md - Build selection → Build recipes: builds selected
README.md - Build recipes → Image preparation: prepares images
README.md - Image preparation → Image tarballs: exports tarballs
README.md - Build recipes → Definition generation: generates definitions
README.md - Definition generation → Definition template: uses template
README.md - Definition generation → Container specs: uses node definition
README.md - Definition generation → CML definitions: writes YAML
README.md - Package configuration → Debian package: configures package
README.md - Image tarballs → Debian package: packages artifacts
- CML definitions → Debian package: packages artifacts
- Developer → ISO builder: invokes ISO build
README.md - Container specs → ISO grouping: supplies suffix
README.md - ISO grouping → ISO builder: groups modules
README.md - ISO builder → Image tarballs: stages artifacts
README.md - ISO builder → CML definitions: stages artifacts
README.md - ISO builder → ISO images: creates ISOs
README.md