From 4072e1fda8d4513d93f6722aae8786845a5232ee Mon Sep 17 00:00:00 2001 From: Denis Kopylov Date: Mon, 2 Dec 2024 17:51:57 +0300 Subject: [PATCH] [Elastic-HQ] Change move command --- images/elastic-hq/Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/images/elastic-hq/Dockerfile b/images/elastic-hq/Dockerfile index d687b80..f7dc459 100644 --- a/images/elastic-hq/Dockerfile +++ b/images/elastic-hq/Dockerfile @@ -10,11 +10,13 @@ RUN apk update && \ apk add --no-cache --virtual .build-deps bzip2-dev gcc libc-dev libffi-dev openssl-dev python3-dev make -# Copy source code +# Download ElasticHQ RUN cd /tmp && \ wget -q $(wget -qO- https://api.github.com/repos/ElasticHQ/elasticsearch-HQ/releases/latest | grep "zipball_url" | cut -d '"' -f 4) -O elastichq.zip && \ - unzip elastichq.zip && \ - mv *elasticsearch-HQ*/* /src + unzip elastichq.zip \ + +# Copy source code +RUN mv /tmp/*elasticsearch-HQ*/* /src # Set working directory WORKDIR /src