aboutsummaryrefslogtreecommitdiff
path: root/linux/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'linux/Makefile')
-rw-r--r--linux/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/linux/Makefile b/linux/Makefile
new file mode 100644
index 000000000..798dcba27
--- /dev/null
+++ b/linux/Makefile
@@ -0,0 +1,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