From 3de9c0b173d2755c9c43baeca96ed16156ee1a31 Mon Sep 17 00:00:00 2001 From: vcerenu Date: Thu, 20 Jan 2022 09:25:11 -0300 Subject: [PATCH] Add wazuh-dashboard Dockerfile --- production-cluster.yml | 2 +- wazuh-dashboard/Dockerfile | 2 +- wazuh-dashboard/config/entrypoint.sh | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/production-cluster.yml b/production-cluster.yml index 8f1b1872..d169462e 100644 --- a/production-cluster.yml +++ b/production-cluster.yml @@ -134,7 +134,7 @@ services: - ./production_cluster/elastic_opendistro/internal_users.yml:/usr/share/elasticsearch/plugins/opendistro_security/securityconfig/internal_users.yml kibana: - image: wazuh/wazuh-kibana-odfe:4.3.0 + image: wazuh/wazuh-dashboard hostname: kibana restart: always ports: diff --git a/wazuh-dashboard/Dockerfile b/wazuh-dashboard/Dockerfile index d2a14576..d6fd76a0 100644 --- a/wazuh-dashboard/Dockerfile +++ b/wazuh-dashboard/Dockerfile @@ -7,7 +7,7 @@ ARG FILEBEAT_CHANNEL=filebeat-oss ARG FILEBEAT_VERSION=7.10.2 ARG WAZUH_FILEBEAT_MODULE="wazuh-filebeat-0.1.tar.gz" -RUN apt-get update && apt install curl gnupg -y +RUN apt-get update && apt install curl libcap2-bin -y RUN curl https://s3.amazonaws.com/warehouse.wazuh.com/stack/dashboard/stable/wazuh-dashboard_${WAZUH_VERSION}.deb --output wazuh-dashboard_${WAZUH_VERSION}.deb && \ dpkg -i wazuh-dashboard_${WAZUH_VERSION}.deb diff --git a/wazuh-dashboard/config/entrypoint.sh b/wazuh-dashboard/config/entrypoint.sh index c221b9c2..bba97efc 100644 --- a/wazuh-dashboard/config/entrypoint.sh +++ b/wazuh-dashboard/config/entrypoint.sh @@ -6,5 +6,3 @@ ############################################################################## service wazuh-dashboard start - -service wazuh-dashboard enable