pandoc/linux/Makefile
2017-09-19 16:17:06 -07:00

18 lines
405 B
Makefile

TREE?=HEAD
ARTIFACTS=`pwd`/artifacts
REVISION?=1
build:
mkdir -p $(ARTIFACTS)
docker build -t alpine-pandoc .
docker run --env TREE=$(TREE) --env REVISION=$(REVISION) \
-v $(ARTIFACTS):/artifacts alpine-pandoc
interact:
docker run --env TREE=$(TREE) --env REVISION=$(REVISION) \
-v $(ARTIFACTS):/artifacts -it alpine-pandoc bash
setup:
docker pull alpine:edge
.PHONY: build setup interact