Skip to content
This repository has been archived by the owner on Apr 25, 2021. It is now read-only.

Commit

Permalink
Merge pull request #8 from naseemkullah/master
Browse files Browse the repository at this point in the history
Upgrading to Elastalert 0.2.1 w/ Python3
  • Loading branch information
jertel committed Aug 16, 2019
2 parents 00c941d + 5a37c31 commit 521b033
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
FROM python:2.7-alpine
FROM python:3.6-alpine

LABEL description="ElastAlert suitable for Kubernetes and Helm"
LABEL maintainer="Jason Ertel (jertel at codesim.com)"

ARG ELASTALERT_VERSION=0.2.0b2
ARG ELASTALERT_VERSION=0.2.1

RUN apk --update upgrade && \
apk add gcc libffi-dev musl-dev python2-dev openssl-dev tzdata libmagic && \
apk add gcc libffi-dev musl-dev python-dev openssl-dev tzdata libmagic && \
rm -rf /var/cache/apk/*

RUN pip install elastalert==${ELASTALERT_VERSION} && \
apk del gcc libffi-dev musl-dev python2-dev openssl-dev
apk del gcc libffi-dev musl-dev python-dev openssl-dev

RUN mkdir -p /opt/elastalert/config && \
mkdir -p /opt/elastalert/rules && \
Expand Down

0 comments on commit 521b033

Please sign in to comment.