Add Dockerfile for sequence diagram generation

This commit is contained in:
Joe Beda
2015-01-26 13:50:26 -08:00
parent b6e345c3c9
commit fab7636aa6
3 changed files with 42 additions and 0 deletions

View File

@@ -7,3 +7,20 @@ pip install seqdiag
```
Just call `make` to regenerate the diagrams.
## Building with Docker
If you are on a Mac or your pip install is messed up, you can easily build with docker.
```
make docker
```
The first run will be slow but things should be fast after that.
To clean up the docker containers that are created (and other cruft that is left around) you can run `make docker-clean`.
If you are using boot2docker and get warnings about clock skew (or if things aren't building for some reason) then you can fix that up with `make fix-clock-skew`.
## Automatically rebuild on file changes
If you have the fswatch utility installed, you can have it monitor the file system and automatically rebuild when files have changed. Just do a `make watch`.