Skip to content

Commit cf59dd6

Browse files
committed
Update to the latest upstream Elastalert to fix dependency issues
1 parent 01b17f3 commit cf59dd6

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM alpine:latest as py-ea
2-
ARG ELASTALERT_VERSION=v0.2.1
2+
ARG ELASTALERT_VERSION=1334b611fdd7adf39991a1b0b11689568d612690
33
ENV ELASTALERT_VERSION=${ELASTALERT_VERSION}
44
# URL from which to download Elastalert.
55
ARG ELASTALERT_URL=https://github.com/Yelp/elastalert/archive/$ELASTALERT_VERSION.zip
@@ -19,9 +19,8 @@ RUN apk add --update --no-cache ca-certificates openssl-dev openssl python3-dev
1919
WORKDIR "${ELASTALERT_HOME}"
2020

2121
# Install Elastalert.
22-
# see: https://github.com/Yelp/elastalert/issues/2437
23-
RUN sed -i 's/jira>=1.0.10,<1.0.15/jira>=2.0.0/g' setup.py && \
24-
python3 setup.py install
22+
# With the latest hash we no longer need to monkey with package versions
23+
RUN python3 setup.py install
2524

2625
FROM node:alpine
2726
LABEL maintainer="BitSensor <dev@bitsensor.io>"

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
v ?= v0.2.1
1+
v ?= 1334b611fdd7adf39991a1b0b11689568d612690
22

33
all: build
44

0 commit comments

Comments
 (0)