mirror of
				https://github.com/wazuh/wazuh-docker.git
				synced 2025-11-04 05:53:19 +00:00 
			
		
		
		
	Merge pull request #2029 from wazuh/bug/2028-indexer-dir-owner
Change Wazuh indexer directory owner
This commit is contained in:
		@@ -18,6 +18,7 @@ All notable changes to this project will be documented in this file.
 | 
			
		||||
 | 
			
		||||
### Fixed
 | 
			
		||||
 | 
			
		||||
- Change Wazuh indexer directory owner ([#2029](https://github.com/wazuh/wazuh-docker/pull/2029))
 | 
			
		||||
- Double the amount of space consumed in Wazuh Indexer ([#1953](https://github.com/wazuh/wazuh-docker/pull/1953))
 | 
			
		||||
- Fix config directory for opensearch_security plugin work ([#1951](https://github.com/wazuh/wazuh-docker/pull/1951))
 | 
			
		||||
- Update Dockerfile to copy opensearch-security files ([#1928](https://github.com/wazuh/wazuh-docker/pull/1928))
 | 
			
		||||
 
 | 
			
		||||
@@ -62,9 +62,10 @@ COPY config/entrypoint.sh /
 | 
			
		||||
 | 
			
		||||
COPY config/securityadmin.sh /
 | 
			
		||||
 | 
			
		||||
RUN chmod 700 /entrypoint.sh && chmod 700 /securityadmin.sh
 | 
			
		||||
 | 
			
		||||
RUN chown 1000:1000 /*.sh
 | 
			
		||||
RUN chmod 700 /entrypoint.sh && chmod 700 /securityadmin.sh && \
 | 
			
		||||
    mkdir -p /usr/share/wazuh-indexer && \
 | 
			
		||||
    chown 1000:1000 /usr/share/wazuh-indexer && \
 | 
			
		||||
    chown 1000:1000 /*.sh
 | 
			
		||||
 | 
			
		||||
COPY --from=builder --chown=1000:1000 /usr/share/wazuh-indexer /usr/share/wazuh-indexer
 | 
			
		||||
COPY --from=builder --chown=1000:1000 /etc/wazuh-indexer /usr/share/wazuh-indexer/config
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user