Docker image for diagrams
$ cat <diagram-file>.py | docker run -i --rm -v $(pwd)/out:/out gtramontina/diagrams:<version>
The /out
directory is where diagram
will generate your PNGs.
$ make build # Builds a new image
$ make test # Runs/tests the image
$ make push # Pushes the image up
$ make clean # Removes any generated artifacts
$ make clobber # Removes artifacts and generated images
🐳