mirror of
https://github.com/openfaas/faas.git
synced 2025-06-16 04:06:47 +00:00
Added AlertManager ARM Dockerfile and openfaas label to armhf network
Signed-off-by: rgee0 <richard@technologee.co.uk>
This commit is contained in:
parent
63f8707544
commit
f3ae1a2f62
16
contrib/alertmanager-armhf/0.15.0-rc.0/Dockerfile
Normal file
16
contrib/alertmanager-armhf/0.15.0-rc.0/Dockerfile
Normal file
@ -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" ]
|
@ -208,3 +208,5 @@ networks:
|
||||
functions:
|
||||
driver: overlay
|
||||
attachable: true
|
||||
labels:
|
||||
- "openfaas=true"
|
Loading…
x
Reference in New Issue
Block a user