container-images/pandoc/Makefile
Vincent Batts cd5e27f533 pandoc: tag the precise rpm version used
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-12-09 12:40:39 -05:00

9 lines
288 B
Makefile

DOCKER ?= $(shell which docker)
default:
$(DOCKER) build -t $(shell whoami)/pandoc .
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)