cadvisor/deploy/prepare.sh
2014-07-22 14:09:42 -07:00

8 lines
152 B
Bash

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