Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added AlertManager ARM Dockerfile and openfaas label to armhf network
Signed-off-by: rgee0 <richard@technologee.co.uk>
- Loading branch information
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM alpine:3.6 | ||
WORKDIR /root | ||
RUN apk add --update libarchive-tools | ||
ADD https://github.com/prometheus/alertmanager/releases/download/v0.15.0-rc.0/alertmanager-0.15.0-rc.0.linux-armv7.tar.gz /root/ | ||
RUN bsdtar -xvf *.tar.gz -C ./ --strip-components=1 | ||
RUN mkdir /etc/alertmanager | ||
|
||
RUN cp alertmanager /bin/alertmanager | ||
RUN cp simple.yml /etc/alertmanager/config.yml | ||
|
||
EXPOSE 9093 | ||
VOLUME [ "/alertmanager" ] | ||
WORKDIR /alertmanager | ||
ENTRYPOINT [ "/bin/alertmanager" ] | ||
CMD [ "-config.file=/etc/alertmanager/config.yml", \ | ||
"-storage.path=/alertmanager" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -208,3 +208,5 @@ networks: | |
functions: | ||
driver: overlay | ||
attachable: true | ||
labels: | ||
- "openfaas=true" |