Merge pull request #170 from jimmidyson/dev

Remove default.tmpl from Docker image
This commit is contained in:
Brian Brazil 2015-12-02 11:43:15 +00:00
commit 62fda13894
1 changed files with 1 additions and 2 deletions

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