From bd5f93d6a4338f2026a9d9ba9bf81cfdb7575deb Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 1 Jun 2017 00:25:44 +0200 Subject: build: inject the version into docker image --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 6be1b62..0c4e072 100644 --- a/Makefile +++ b/Makefile @@ -92,6 +92,7 @@ docker: clean docker build -t vis . docker run --rm -d --name vis vis tail -f /dev/null docker cp . vis:/tmp/vis + docker exec vis sed -i '/^VERSION/c VERSION = $(VERSION)' Makefile docker exec vis ./configure CC='cc --static' docker exec vis make clean vis-single docker cp vis:/tmp/vis/vis-single vis -- cgit v1.2.3