mirror of
https://github.com/Febbweiss/docker-curator.git
synced 2026-03-04 14:25:37 +00:00
Merge pull request #28 from r4j4h/search-guard
Fixed Search Guard Cert Support
This commit is contained in:
13
Dockerfile
13
Dockerfile
@@ -1,10 +1,15 @@
|
|||||||
FROM alpine:3.6
|
FROM alpine:3.6
|
||||||
|
|
||||||
RUN apk --no-cache add python py-setuptools py-pip && \
|
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 libssl1.0 && \
|
||||||
pip install elasticsearch-curator==5.4.0 && \
|
pip install elasticsearch-curator==5.4.0 && \
|
||||||
pip install boto3 && \
|
pip install boto3==1.4.8 && \
|
||||||
pip install requests-aws4auth && \
|
pip install requests-aws4auth==0.9 && \
|
||||||
apk del py-pip
|
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
|
USER nobody:nobody
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/curator"]
|
ENTRYPOINT ["/usr/bin/curator"]
|
||||||
|
|||||||
Reference in New Issue
Block a user