Skip to content

Commit

Permalink
build: build standalone binary against latest Alpine packages
Browse files Browse the repository at this point in the history
  • Loading branch information
martanne committed Mar 19, 2018
1 parent 85919f6 commit 1157a2b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 1157a2b

Please sign in to comment.