Fix CGO_ENABLED flag

This commit is contained in:
Fabian Reinartz 2015-12-09 12:01:58 +01:00
parent 7e7c97dc0d
commit bd8a548501
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ COPY . /gopath/src/github.com/prometheus/alertmanager
RUN apk add --update -t build-deps tar openssl git make bash \
&& source ./scripts/goenv.sh /go /gopath \
&& CGO_ENABLED=0 make build \
&& make build \
&& cp alertmanager /bin/ \
&& mkdir -p /etc/alertmanager/template \
&& mv ./doc/examples/simple.yml /etc/alertmanager/config.yml \