aboutsummaryrefslogtreecommitdiff
path: root/linux/Makefile
blob: 798dcba279ec4e23fe00d833231de5ddebb5f351 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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

setup:
	docker pull alpine:edge

.PHONY: build setup