pandoc/linux/Makefile

19 lines
405 B
Makefile
Raw Normal View History

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