github.com/jlmucb/cloudproxy@v0.0.0-20170830161738-b5aa0b619bc4/go/run/scripts/build_static.sh (about)

     1  #!/bin/sh
     2  
     3  # Docker requires static executables. This can be accomplished by either
     4  # disabling cgo or using the netgo tag.
     5  echo "Building static version of cloudproxy"
     6  CGO_ENABLED=0 go install -a -installsuffix nocgo github.com/jlmucb/cloudproxy/...