The pytm devcontainer is an adaption of the
devcontainer Ubuntu base image
for painless CLI management support via brew.
This enables easy integration into devcontainer based workflows, CLI based instalaltion of additional brew packages
as well as common devcontainer features which are based on apt packages in a lot of cases.
The devcontainer uses the following features:
- common-utils
- git
- homebrew
- some modern tools from devcontainer-extra/features
To manage devcontainer via the CLI you can use devcontainer cli.
devcontainer build --workspace-folder .
The first startup takes some time for building the image. Later startups are significantly faster.
The most simple, getting started usage scenario is:
vscode ➜ /workspaces/pytm (devcontainer) $ mkdir -p tm
vscode ➜ /workspaces/pytm (devcontainer) $ ./tm.py --report docs/basic_template.md | pandoc -f markdown -t html > tm/report.html
vscode ➜ /workspaces/pytm (devcontainer) $ ./tm.py --dfd | dot -Tpng -o tm/dfd.png
vscode ➜ /workspaces/pytm (devcontainer) $ ./tm.py --seq | java -Djava.awt.headless=true -jar $PLANTUML_PATH -tpng -pipe > tm/seq.png