Skip to content

Commit

Permalink
Added AlertManager ARM Dockerfile and openfaas label to armhf network
Browse files Browse the repository at this point in the history
Signed-off-by: rgee0 <richard@technologee.co.uk>
  • Loading branch information
rgee0 authored and alexellis committed Mar 15, 2018
1 parent 63f8707 commit f3ae1a2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
16 changes: 16 additions & 0 deletions contrib/alertmanager-armhf/0.15.0-rc.0/Dockerfile
@@ -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" ]
2 changes: 2 additions & 0 deletions docker-compose.armhf.yml
Expand Up @@ -208,3 +208,5 @@ networks:
functions:
driver: overlay
attachable: true
labels:
- "openfaas=true"

0 comments on commit f3ae1a2

Please sign in to comment.