8 Commits
5.2.0 ... pr-22

Author SHA1 Message Date
Jasmine Hegman
0ddccae0c7 Enhanced to use openssl for Search guard cert support as per https://gist.github.com/floragunncom/9319a994ae09df64b2a173128f745ed2 2017-12-10 13:24:12 -08:00
Ivan Babrou
10783cfded Merge pull request #25 from ben-st/patch-1
bump alpine version, switch to --no-cache
2017-12-04 08:36:29 -08:00
Benjamin
7d0fee7a67 merge current master 2017-12-04 17:32:40 +01:00
Ivan Babrou
7db7562586 Merge pull request #26 from phillbaker/patch-1
Install boto3 to add support for environment credentials
2017-11-27 17:14:38 -08:00
Phillip Baker
88bd6eba6a Install boto3 to add support for environment credentials
Support for AWS credentials was updated in https://github.com/elastic/curator/pull/1084 in curator >=5.3.0.

Updates https://github.com/bobrik/docker-curator/pull/19.
2017-11-27 18:49:31 -05:00
Ivan Babrou
965f8caa7c Merge pull request #24 from la3mmchen/master
move curator version to 5.4
2017-11-26 14:07:15 -08:00
Benjamin
94edc4b080 bump alpine version, switch to --no-cache
You can use the --no-cache option to apk, then you don't have to delete the package cache afterwards.

All the best,

Benjamin
2017-11-23 09:37:18 +01:00
Alexander Koehler
90e39b4d93 move curator version to 5.4 2017-11-22 11:20:19 +01:00

View File

@@ -1,10 +1,14 @@
FROM alpine:3.4
FROM alpine:3.6
RUN apk --update add python py-setuptools py-pip && \
pip install elasticsearch-curator==5.2.0 && \
pip install requests-aws4auth && \
apk del py-pip && \
rm -rf /var/cache/apk/*
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 && \
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
USER nobody:nobody
ENTRYPOINT ["/usr/bin/curator"]