2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-28 16:06:34 +01:00

update elastalert

This commit is contained in:
kev
2019-10-30 18:57:53 +08:00
parent 3e1c0d9d79
commit cb3370fc15
4 changed files with 20 additions and 12 deletions

View File

@@ -6,19 +6,25 @@ FROM python:3.6-alpine
ENV ELASTALERT_VERSION=v0.2.1
ENV ELASTALERT_HOME=/opt/elastalert
ENV TZ=UTC
WORKDIR ${ELASTALERT_HOME}
RUN set -xe \
&& apk add --no-cache \
bash \
curl \
libffi \
libmagic \
libssl1.1 \
musl \
tzdata \
&& apk add --no-cache -t .build-deps \
build-base \
curl \
libffi-dev \
libmagic \
musl-dev \
openssl-dev \
python-dev \
tzdata \
python3-dev \
&& pip install elastalert==${ELASTALERT_VERSION} \
&& mkdir -p rules \
&& curl -sSL https://github.com/Yelp/elastalert/raw/${ELASTALERT_VERSION}/config.yaml.example > config.yaml \