Files
openstack-helm-images/elasticsearch-s3/Dockerfile.7_1_0
Pete Birley 5046975869 Images: Update all images to allow base image over-rides
This PS updates all dockerfiles to allow base image over-rides as
required by many consumers of OSH.

Change-Id: I53daac9c1ec4707628565abc912116d8997eba16
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2020-08-11 04:50:26 +00:00

16 lines
524 B
Docker

ARG FROM=docker.elastic.co/elasticsearch/elasticsearch-oss:7.1.0
FROM ${FROM}
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