Created
April 19, 2019 07:35
-
-
Save klrkdekira/37d7cff35a99495b83c91eb0e7dca551 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# go-measurement-kit | |
git clone https://github.com/measurement-kit/go-measurement-kit.git | |
docker run -ti --rm \ | |
-v $PWD/go-measurement-kit:/go/src/github.com/measurement-kit/go-measurement-kit \ | |
-w /go/src/github.com/measurement-kit/go-measurement-kit \ | |
-e CGO_ENABLED='1' \ | |
golang:1.12 bash | |
./download-libs.sh linux | |
go build -x . | |
go build -x _examples/ndt/ndt.go | |
go build -x _examples/web_connectivity/web_connectivity.go | |
# end | |
# probe | |
git clone https://github.com/ooni/probe-cli.git | |
docker run -ti --rm \ | |
-v $PWD/probe-cli:/go/src/github.com/ooni/probe-cli \ | |
-w /go/src/github.com/ooni/probe-cli \ | |
-e CGO_ENABLED='1' \ | |
golang:1.12 bash | |
go get -u github.com/golang/dep/cmd/dep | |
dep ensure | |
# bug? download-mk-libs will download macos on a linux host | |
cd vendor/github.com/measurement-kit/go-measurement-kit && ./download-libs.sh linux | |
cd /go/src/github.com/ooni/probe-cli | |
make build | |
# end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment