Elasticsearch: Add elasticsearch python packages
This updates the Elasticsearch 7.1.0 image to include the python packages to support python scripting to query Elasticsearch directly Change-Id: I42fcf7c8c74efdef0584a6051e133ef287fdc686 Signed-off-by: Steve Wilkerson <sw5822@att.com>
This commit is contained in:
@@ -1,7 +1,14 @@
|
||||
FROM docker.elastic.co/elasticsearch/elasticsearch-oss:7.1.0
|
||||
|
||||
RUN wget -O jq https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 \
|
||||
&& chmod +x ./jq \
|
||||
&& cp jq /usr/bin
|
||||
|
||||
RUN bin/elasticsearch-plugin install --batch repository-s3
|
||||
RUN wget -O jq https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64; \
|
||||
chmod +x ./jq ;\
|
||||
cp jq /usr/bin ;\
|
||||
yum -y update ;\
|
||||
rm -rf /var/cache/yum ;\
|
||||
curl https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py ;\
|
||||
python /tmp/get-pip.py ;\
|
||||
rm -f /tmp/get-pip.py ;\
|
||||
pip install \
|
||||
elasticsearch==7.1.0 \
|
||||
elasticsearch-dsl==7.1.0; \
|
||||
bin/elasticsearch-plugin install --batch repository-s3
|
||||
|
Reference in New Issue
Block a user