monoceros add-apt-packages
Installs Debian/Ubuntu apt packages in the container - a quick, declarative
way to add small tools missing from the base image (make, jq, tmux, …).
They are installed on the next
monoceros apply.
monoceros add-apt-packages <name> <pkg> [<pkg> ...] [--yes]Pass the package names as arguments.
Examples
Section titled “Examples”# A single packagemonoceros add-apt-packages acme jq
# Several at oncemonoceros add-apt-packages acme make tmux ripgrepBehavior
Section titled “Behavior”- Idempotent. A package already in the list is not added again.
- No confirmation prompt. The edit is written straight to the yml as soon as you run the command.
- Edits the yml only. Run
monoceros applyto install the packages.
See also
Section titled “See also”monoceros remove-apt-packages- the inverse.monoceros add-feature- for tools that ship as a devcontainer feature.