Remove default.tmpl from Docker image

This commit is contained in:
Jimmi Dyson 2015-12-02 11:21:56 +00:00
parent eebde79c66
commit 3c276ea447

View File

@ -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" ]