initial commit
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
Aaron Riedel 2023-04-20 04:24:37 +02:00
commit ee8be1c7bc
Signed by: aaron
GPG key ID: 643004654D40D577
3 changed files with 42 additions and 0 deletions

19
Dockerfile Normal file
View file

@ -0,0 +1,19 @@
ARG ARCH="amd64"
ARG OS="linux"
FROM quay.io/prometheus/busybox-${OS}-${ARCH}:latest
LABEL maintainer="The Prometheus Authors <prometheus-developers@googlegroups.com>"
COPY alertmanager/amtool /bin/amtool
COPY alertmanager/alertmanager /bin/alertmanager
COPY alertmanager/examples/ha/alertmanager.yml /etc/alertmanager/alertmanager.yml
RUN mkdir -p /alertmanager && \
chown -R nobody:nobody etc/alertmanager /alertmanager
USER nobody
EXPOSE 9093
VOLUME [ "/alertmanager" ]
WORKDIR /alertmanager
ENTRYPOINT [ "/bin/alertmanager" ]
CMD [ "--config.file=/etc/alertmanager/alertmanager.yml", \
"--storage.path=/alertmanager" ]