2015-12-09 17:36:22 +00:00
|
|
|
|
|
|
|
DOCKER ?= $(shell which docker)
|
|
|
|
|
|
|
|
default:
|
|
|
|
$(DOCKER) build -t $(shell whoami)/pandoc .
|
|
|
|
|
2015-12-09 17:40:39 +00:00
|
|
|
tag:
|
|
|
|
$(DOCKER) tag $(shell whoami)/pandoc $(shell whoami)/pandoc:$(shell $(DOCKER) run -it --entrypoint /usr/bin/rpm $(shell whoami)/pandoc -q --queryformat "%{version}-%{release}.%{arch}" pandoc)
|
|
|
|
|