Fix CGO_ENABLED flag
This commit is contained in:
parent
7e7c97dc0d
commit
bd8a548501
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue