cadvisor/deploy/prepare.sh

8 lines
152 B
Bash
Executable File

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