forked from wazuh/wazuh-docker
Temporary using staging Wazuh app (testing)
This commit is contained in:
+7
-9
@@ -1,15 +1,15 @@
|
|||||||
# Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2)
|
# Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2)
|
||||||
FROM docker.elastic.co/kibana/kibana:6.7.2
|
FROM docker.elastic.co/kibana/kibana:7.0.0
|
||||||
ARG WAZUH_APP_VERSION=3.9.0_6.7.2
|
ARG WAZUH_APP_VERSION=3.9.0_7.0.0-rc5
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
ADD https://packages.wazuh.com/wazuhapp/wazuhapp-${WAZUH_APP_VERSION}.zip /tmp
|
ADD https://packages-dev.wazuh.com/staging/app/kibana/wazuhapp-3.9.0_7.0.0-rc5.zip /tmp
|
||||||
|
|
||||||
RUN NODE_OPTIONS="--max-old-space-size=3072" /usr/share/kibana/bin/kibana-plugin install file:///tmp/wazuhapp-${WAZUH_APP_VERSION}.zip &&\
|
RUN /usr/share/kibana/bin/kibana-plugin install file:///tmp/wazuhapp-${WAZUH_APP_VERSION}.zip
|
||||||
chown -R kibana:kibana /usr/share/kibana &&\
|
RUN rm -rf /tmp/wazuhapp-${WAZUH_APP_VERSION}.zip
|
||||||
rm -rf /tmp/*
|
|
||||||
|
|
||||||
COPY config/entrypoint.sh /entrypoint.sh
|
COPY config/entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
RUN chmod 755 /entrypoint.sh
|
RUN chmod 755 /entrypoint.sh
|
||||||
|
|
||||||
USER kibana
|
USER kibana
|
||||||
@@ -71,6 +71,4 @@ RUN chmod +x ./welcome_wazuh.sh
|
|||||||
|
|
||||||
RUN ./welcome_wazuh.sh
|
RUN ./welcome_wazuh.sh
|
||||||
|
|
||||||
RUN /usr/local/bin/kibana-docker --optimize
|
|
||||||
|
|
||||||
ENTRYPOINT /entrypoint.sh
|
ENTRYPOINT /entrypoint.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user