From 1157a2b1aa93fac7d31a1a6c9b5c6d2c924e7506 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 19 Mar 2018 19:34:05 +0100 Subject: [PATCH] build: build standalone binary against latest Alpine packages --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b64440367..917a26085 100644 --- a/Makefile +++ b/Makefile @@ -84,9 +84,10 @@ vis-single: vis-single.c vis-single-payload.inc ${STRIP} $@ docker: clean - docker rm -f vis || true docker build -t vis . docker run --rm -d --name vis vis tail -f /dev/null + docker exec vis apk update + docker exec vis apk upgrade docker cp . vis:/tmp/vis docker exec vis sed -i '/^VERSION/c VERSION = $(VERSION)' Makefile docker exec vis ./configure CC='cc --static'