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"