Feat: add a make file to run docker

This commit is contained in:
Bertrand Benjamin 2022-07-19 17:28:32 +02:00
parent b1424f096b
commit 177128afe2
1 changed files with 7 additions and 0 deletions

7
Makefile Normal file
View File

@ -0,0 +1,7 @@
EXAMPLE=simple
docker-build:
docker build -f Dockerfile.$(EXAMPLE) -t $(EXAMPLE) .
docker-test: docker-build
docker run $(EXAMPLE) sh -c "bopytex -q 2 tpl_example.tex && cat 1_example.tex"