blob: 4e8eeb00abd9f20e0c1d9bf76daf6a1bec862ee5 (
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 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
|