diff --git a/pandoc/Makefile b/pandoc/Makefile index 290bc4a..b110e5e 100644 --- a/pandoc/Makefile +++ b/pandoc/Makefile @@ -4,3 +4,6 @@ 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) +