Files
openstack-helm-images/elasticsearch-s3/Dockerfile.7
astebenkova 59de48379b [elasticsearch-s3] Prepare recipes for v7/v8
Create common Dockerfiles for the latest major ES versions

Change-Id: I5b1232e41e6713cdf89b832262ec5a703cfaf81d
2024-06-03 09:03:25 +03:00

18 lines
559 B
Docker

ARG ELASTICSEARCH_VERSION
FROM docker.elastic.co/elasticsearch/elasticsearch:${ELASTICSEARCH_VERSION}
ARG ELASTICSEARCH_VERSION
RUN set -ex \
&& apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends \
jq \
python3-pip \
&& pip3 install --no-cache-dir --upgrade pip \
&& pip3 install --no-cache-dir \
"elasticsearch<=${ELASTICSEARCH_VERSION}" \
"elasticsearch-dsl~=7.0" \
&& bin/elasticsearch-plugin install --batch repository-s3 \
&& rm -rf /var/lib/apt/lists/*