forked from wazuh/wazuh-docker
Change services names and build certs generator
This commit is contained in:
@@ -1,21 +1,16 @@
|
||||
# Wazuh Docker Copyright (C) 2021 Wazuh Inc. (License GPLv2)
|
||||
FROM ubuntu:20.04
|
||||
FROM wazuh/wazuh-indexer:4.3.0
|
||||
|
||||
ARG WAZUH_VERSION=4.3.0-1
|
||||
RUN apt-get update && apt-get install openssl -y
|
||||
|
||||
RUN apt-get update && apt install curl -y
|
||||
WORKDIR /
|
||||
|
||||
RUN curl https://packages-dev.wazuh.com/pre-release/apt/pool/main/w/wazuh-indexer/wazuh-indexer_${WAZUH_VERSION}_amd64.deb --output wazuh-indexer_${WAZUH_VERSION}_amd64.deb && \
|
||||
dpkg -i wazuh-indexer_${WAZUH_VERSION}_amd64.deb
|
||||
|
||||
WORKDIR /usr/share/wazuh-indexer/plugins/opensearch-security/tools/
|
||||
|
||||
RUN rm wazuh-cert-tool.sh && \
|
||||
curl -sO https://packages-dev.wazuh.com/resources/4.3/install_functions/opendistro/wazuh-cert-tool.sh &&\
|
||||
chmod 750 wazuh-cert-tool.sh
|
||||
COPY config/unattended_installer.tar.gz /
|
||||
|
||||
COPY config/entrypoint.sh /
|
||||
|
||||
RUN chmod 700 /entrypoint.sh
|
||||
RUN tar -xzvf /unattended_installer.tar.gz
|
||||
|
||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
||||
RUN chmod 700 /entrypoint.sh && chmod -R 700 unattended_installer
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
Reference in New Issue
Block a user