This commit adds all cadvisor dependencies as the result of running the following commands: go get -u godep save The .travis.yml file has been updated to use godep for building binaries and running tests. The prepare.sh script has been updated to use godep to build the cadvisor binary.
8 lines
158 B
Bash
Executable File
8 lines
158 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
# Statically build cAdvisor from source and stage it.
|
|
godep go build --ldflags '-extldflags "-static"' github.com/google/cadvisor
|