mirror of
				https://github.com/wazuh/wazuh-docker.git
				synced 2025-11-04 05:53:19 +00:00 
			
		
		
		
	Modified Kibana Dockerfile
This commit is contained in:
		@@ -3,12 +3,6 @@ FROM docker.elastic.co/kibana/kibana:6.5.4
 | 
				
			|||||||
ARG WAZUH_APP_VERSION=3.8.2_6.5.4
 | 
					ARG WAZUH_APP_VERSION=3.8.2_6.5.4
 | 
				
			||||||
USER root
 | 
					USER root
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ADD https://packages.wazuh.com/wazuhapp/wazuhapp-${WAZUH_APP_VERSION}.zip /tmp
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
RUN NODE_OPTIONS="--max-old-space-size=3072" /usr/share/kibana/bin/kibana-plugin install file:///tmp/wazuhapp-${WAZUH_APP_VERSION}.zip &&\
 | 
					 | 
				
			||||||
    chown -R kibana:kibana /usr/share/kibana &&\
 | 
					 | 
				
			||||||
    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
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -80,3 +74,11 @@ RUN ./welcome_wazuh.sh
 | 
				
			|||||||
RUN /usr/local/bin/kibana-docker --optimize
 | 
					RUN /usr/local/bin/kibana-docker --optimize
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ENTRYPOINT ./entrypoint.sh
 | 
					ENTRYPOINT ./entrypoint.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					USER root
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ADD https://packages.wazuh.com/wazuhapp/wazuhapp-${WAZUH_APP_VERSION}.zip /tmp
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					RUN NODE_OPTIONS="--max-old-space-size=3072" /usr/share/kibana/bin/kibana-plugin install file:///tmp/wazuhapp-${WAZUH_APP_VERSION}.zip &&\
 | 
				
			||||||
 | 
					    chown -R kibana:kibana /usr/share/kibana &&\
 | 
				
			||||||
 | 
					    rm -rf /tmp/*
 | 
				
			||||||
		Reference in New Issue
	
	Block a user