bump elk stack to 6.5.1

fix docker hub build
This commit is contained in:
t3chn0m4g3
2018-11-22 23:18:59 +00:00
parent b1ee78b1bc
commit 5e8345695f
4 changed files with 39 additions and 29 deletions

View File

@ -4,7 +4,7 @@ FROM alpine
ADD dist/ /root/dist/
# Setup env and apt
RUN apk -U --no-cache add \
RUN apk -U add \
bash \
curl \
openjdk8-jre \
@ -13,8 +13,8 @@ RUN apk -U --no-cache add \
# Get and install packages
cd /root/dist/ && \
mkdir -p /usr/share/elasticsearch/ && \
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.4.3.tar.gz && \
tar xvfz elasticsearch-6.4.3.tar.gz --strip-components=1 -C /usr/share/elasticsearch/ && \
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.5.1.tar.gz && \
tar xvfz elasticsearch-6.5.1.tar.gz --strip-components=1 -C /usr/share/elasticsearch/ && \
# Add and move files
cd /root/dist/ && \
@ -29,7 +29,9 @@ RUN apk -U --no-cache add \
# Clean up
apk del --purge wget && \
rm -rf /root/*
rm -rf /root/* && \
rm -rf /tmp/* && \
rm -rf /var/cache/apk/*
# Healthcheck
HEALTHCHECK --retries=10 CMD curl -s -XGET 'http://127.0.0.1:9200/_cat/health'