container build needs to be fully static

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2018-06-06 13:04:40 -04:00
parent f1862472c7
commit ae652ba149
Signed by: vbatts
GPG key ID: 10937E57733F1362

View file

@ -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/$*/