github.com/timstclair/heapster@v0.20.0-alpha1/deploy/docker/build.sh (about) 1 #!/bin/bash 2 3 IMAGE=${1-heapster:canary} 4 5 set -e 6 7 pushd $( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) 8 9 godep go build -o heapster -a k8s.io/heapster/metrics 10 godep go build -o eventer -a k8s.io/heapster/events 11 12 docker build -t $IMAGE . 13 popd