cadvisor/deploy/prepare.sh
Kelsey Hightower e6d3895ea2 manage dependencies with godep
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.
2014-08-14 11:30:50 -07:00

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