Update alpine package

- minor cleanup
- remove cross compile support from go-compile script as not needed

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack
2017-05-20 10:59:31 +01:00
parent fc69bcf288
commit e3a4a88e73
3 changed files with 4 additions and 14 deletions

View File

@@ -33,14 +33,4 @@ go test
export CGO_ENABLED=0
if [ "$GOOS" = "darwin" -o "$GOOS" = "windows" ]
then
if [ -z "$ldflags" ]
then
go install
else
go install -ldflags "${ldflags}"
fi
else
go install -buildmode pie -ldflags "-s -w ${ldflags} -extldflags \"-fno-PIC -static\""
fi
go install -buildmode pie -ldflags "-s -w ${ldflags} -extldflags \"-fno-PIC -static\""