From ae652ba1499cc15d62cfc53458523f606ffbed02 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Wed, 6 Jun 2018 13:04:40 -0400 Subject: [PATCH] container build needs to be fully static Signed-off-by: Vincent Batts --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fe75a31..0abd305 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ container: fuzz-walker build.sh plugins: $(PLUGINS) fuzz-walker: $(wildcard *.go) - $(GO) build -o $@ . + $(GO) build --ldflags '-extldflags "-static"' -o $@ . plugin-%.so: $(GO) build -o $@ -buildmode=plugin ./walker/walkers/$*/