aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b644403..917a260 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'