aboutsummaryrefslogtreecommitdiff
path: root/linux/Makefile
blob: cec1db797274756ef711cffe27e967197da7c9af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
TREE?=HEAD
ARTIFACTS=`pwd`/artifacts
REVISION?=1

build:
	mkdir -p $(ARTIFACTS)
	docker build -t debian-pandoc .
	docker run --env TREE=$(TREE) --env REVISION=$(REVISION) \
	    -v $(ARTIFACTS):/artifacts debian-pandoc

interact:
	docker run --env TREE=$(TREE) --env REVISION=$(REVISION) \
		-v $(ARTIFACTS):/artifacts -it debian-pandoc bash

setup:
	docker pull debian:jessie

.PHONY: build setup interact