diff --git a/elasticsearch/Dockerfile b/elasticsearch/Dockerfile index 1010d70..ce2ce08 100644 --- a/elasticsearch/Dockerfile +++ b/elasticsearch/Dockerfile @@ -20,7 +20,7 @@ RUN groupadd -g 1000 elasticsearch && \ WORKDIR /usr/share/elasticsearch -COPY elasticsearch-7.2.0-linux-x86_64.tar.gz /opt/ +RUN cd /opt && curl --retry 8 -s -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.2.0-linux-x86_64.tar.gz && cd - RUN tar zxf /opt/elasticsearch-7.2.0-linux-x86_64.tar.gz --strip-components=1 RUN grep ES_DISTRIBUTION_TYPE=tar /usr/share/elasticsearch/bin/elasticsearch-env \