From 76788184fcfc06018216363951929497ef1d46a5 Mon Sep 17 00:00:00 2001 From: Ivan Babrou Date: Tue, 12 Dec 2017 00:18:59 -0800 Subject: [PATCH] Revert "Merge pull request #22 from r4j4h/search-guard" This reverts commit ba28dcf5f105ea1492199964ba14cd3e014d6272, reversing changes made to 10783cfded21bf7db102e550f3e085fe5332c343. --- Dockerfile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2fa74b5..e10cca9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,10 @@ FROM alpine:3.6 -RUN apk --no-cache add python py-setuptools py-pip gcc libffi py-cffi python-dev libffi-dev py-openssl musl-dev linux-headers openssl-dev && \ +RUN apk --no-cache add python py-setuptools py-pip && \ pip install elasticsearch-curator==5.4.0 && \ - pip install requests-aws4auth==0.9 && \ - pip install cryptography==2.1.3 && \ - apk del py-pip gcc python-dev libffi-dev musl-dev linux-headers openssl-dev && \ - sed -i '/import sys/a urllib3.contrib.pyopenssl.inject_into_urllib3()' /usr/bin/curator && \ - sed -i '/import sys/a import urllib3.contrib.pyopenssl' /usr/bin/curator && \ - sed -i '/import sys/a import urllib3' /usr/bin/curator + pip install boto3 && \ + pip install requests-aws4auth && \ + apk del py-pip USER nobody:nobody - ENTRYPOINT ["/usr/bin/curator"]