cadvisor/deploy/prepare.sh
Vishnu Kannan 02b64ed29f Updating libcontainer dependency via 'godep update'. This is required for cAdvisor to work inside docker.
Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)
2014-08-19 19:39:09 +00:00

8 lines
161 B
Bash
Executable File

#!/bin/bash
set -e
set -x
# Statically build cAdvisor from source and stage it.
godep go build -a --ldflags '-extldflags "-static"' github.com/google/cadvisor