mirror of
https://github.com/prometheus/prometheus
synced 2024-12-24 07:23:02 +00:00
Write rule_checker to /bin/rule_checker
This commit is contained in:
parent
166f492a0e
commit
fb3b464f7d
@ -18,7 +18,7 @@ RUN apk add --update -t build-deps go git mercurial vim \
|
||||
-X main.buildDate $(date +%Y%m%d-%H:%M:%S) \
|
||||
-X main.goVersion $(go version | awk '{print substr($3,3)}') \
|
||||
" -o /bin/prometheus \
|
||||
&& cd tools/rule_checker && go build && cd ../.. \
|
||||
&& cd tools/rule_checker && go build -o /bin/rule_checker && cd ../.. \
|
||||
&& mkdir -p /etc/prometheus \
|
||||
&& mv ./documentation/examples/prometheus.conf /etc/prometheus/prometheus.conf \
|
||||
&& mv ./console_libraries/ ./consoles/ /etc/prometheus/ \
|
||||
|
Loading…
Reference in New Issue
Block a user