pandoc: tag the precise rpm version used

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2015-12-09 12:40:39 -05:00
parent 3b1532a996
commit cd5e27f533

View file

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