aboutsummaryrefslogtreecommitdiff
path: root/static-linux/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'static-linux/Makefile')
-rw-r--r--static-linux/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/static-linux/Makefile b/static-linux/Makefile
index d8dc8151d..8c359da7b 100644
--- a/static-linux/Makefile
+++ b/static-linux/Makefile
@@ -1,11 +1,12 @@
+TREE?=HEAD
ARTIFACTS=`pwd`/artifacts
build:
mkdir -p $(ARTIFACTS)
- docker run -v $(ARTIFACTS):/artifacts alpine-pandoc
+ docker build -t alpine-pandoc .
+ docker run --env TREE=$(TREE) -v $(ARTIFACTS):/artifacts alpine-pandoc
setup:
docker pull alpine:edge
- docker build -t alpine-pandoc .
.PHONY: build setup