Merge pull request #170 from jimmidyson/dev
Remove default.tmpl from Docker image
This commit is contained in:
commit
62fda13894
|
@ -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