forked from wazuh/wazuh-docker
clean Dockerfile and docker-compose start script
This commit is contained in:
@@ -12,23 +12,19 @@ RUN sha256sum -c ${tini_bin}.sha256sum && \
|
||||
rm ${tini_bin}.sha256sum && \
|
||||
mv ${tini_bin} /tini && \
|
||||
chmod +x /tini
|
||||
#RUN mkdir /usr/share/wazuh-indexer
|
||||
#WORKDIR /usr/share/opensearch
|
||||
#RUN tar zxf /opt/opensearch.tar.gz --strip-components=1
|
||||
#RUN sed -i -e 's/OPENSEARCH_DISTRIBUTION_TYPE=tar/OPENSEARCH_DISTRIBUTION_TYPE=docker/' /usr/share/opensearch/bin/opensearch-env
|
||||
#RUN mkdir -p config config/jvm.options.d data logs
|
||||
#RUN chmod 0775 config config/jvm.options.d data logs
|
||||
#COPY config/opensearch.yml config/log4j2.properties config/
|
||||
#RUN chmod 0660 config/opensearch.yml config/log4j2.properties
|
||||
|
||||
COPY config/unattended_installer.tar.gz /
|
||||
|
||||
COPY config/config.sh .
|
||||
|
||||
RUN tar -xzvf /unattended_installer.tar.gz
|
||||
|
||||
RUN bash config.sh
|
||||
|
||||
################################################################################
|
||||
# Build stage 1 (the actual OpenSearch image):
|
||||
# Build stage 1 (the actual Wazuh indexer image):
|
||||
#
|
||||
# Copy opensearch from stage 0
|
||||
# Copy wazuh-indexer from stage 0
|
||||
# Add entrypoint
|
||||
################################################################################
|
||||
FROM ubuntu:focal
|
||||
|
||||
Reference in New Issue
Block a user