clean Dockerfile and docker-compose start script

This commit is contained in:
vcerenu
2022-02-15 11:13:48 -03:00
parent 803c9b7062
commit 5bc8693bbc
4 changed files with 6 additions and 21 deletions
+6 -10
View File
@@ -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