mirror of
https://github.com/valitydev/wazuh-docker.git
synced 2024-11-06 01:35:18 +00:00
Merge pull request #293 from AnthonySendra/patch-1
Fix S3 plugin installation in Elasticsearch
This commit is contained in:
commit
4b054e88ca
@ -1,6 +1,7 @@
|
|||||||
# Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2)
|
# Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2)
|
||||||
ARG ELASTIC_VERSION=7.5.1
|
ARG ELASTIC_VERSION=7.5.1
|
||||||
FROM docker.elastic.co/elasticsearch/elasticsearch:${ELASTIC_VERSION}
|
FROM docker.elastic.co/elasticsearch/elasticsearch:${ELASTIC_VERSION}
|
||||||
|
ARG ELASTIC_VERSION
|
||||||
ARG S3_PLUGIN_URL="https://artifacts.elastic.co/downloads/elasticsearch-plugins/repository-s3/repository-s3-${ELASTIC_VERSION}.zip"
|
ARG S3_PLUGIN_URL="https://artifacts.elastic.co/downloads/elasticsearch-plugins/repository-s3/repository-s3-${ELASTIC_VERSION}.zip"
|
||||||
|
|
||||||
ENV ELASTICSEARCH_URL="http://elasticsearch:9200"
|
ENV ELASTICSEARCH_URL="http://elasticsearch:9200"
|
||||||
@ -42,7 +43,7 @@ COPY --chown=elasticsearch:elasticsearch ./config/load_settings.sh ./
|
|||||||
|
|
||||||
RUN chmod +x ./load_settings.sh
|
RUN chmod +x ./load_settings.sh
|
||||||
|
|
||||||
RUN ${bin/elasticsearch-plugin install --batch S3_PLUGIN_URL}
|
RUN bin/elasticsearch-plugin install --batch $S3_PLUGIN_URL
|
||||||
|
|
||||||
COPY config/configure_s3.sh ./config/configure_s3.sh
|
COPY config/configure_s3.sh ./config/configure_s3.sh
|
||||||
RUN chmod 755 ./config/configure_s3.sh
|
RUN chmod 755 ./config/configure_s3.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user