mirror of
https://github.com/prometheus/alertmanager
synced 2024-12-26 08:02:16 +00:00
Remove default.tmpl from Docker image
This commit is contained in:
parent
eebde79c66
commit
3c276ea447
@ -10,7 +10,6 @@ RUN apk add --update -t build-deps tar openssl git make bash \
|
||||
&& cp alertmanager /bin/ \
|
||||
&& mkdir -p /etc/alertmanager/template \
|
||||
&& mv ./doc/examples/simple.yml /etc/alertmanager/config.yml \
|
||||
&& cp ./template/*.tmpl /etc/alertmanager/template/ \
|
||||
&& apk del --purge build-deps \
|
||||
&& rm -rf /go /gopath /var/cache/apk/*
|
||||
|
||||
@ -19,4 +18,4 @@ VOLUME [ "/alertmanager" ]
|
||||
WORKDIR /alertmanager
|
||||
ENTRYPOINT [ "/bin/alertmanager" ]
|
||||
CMD [ "-config.file=/etc/alertmanager/config.yml", \
|
||||
"-storage.path=/alertmanager" ]
|
||||
"-storage.path=/alertmanager" ]
|
||||
|
Loading…
Reference in New Issue
Block a user