mirror of
				https://github.com/wazuh/wazuh-docker.git
				synced 2025-11-04 05:53:19 +00:00 
			
		
		
		
	update user and group uid in the wazuh installation
This commit is contained in:
		@@ -4,8 +4,11 @@ COPY config/*.repo /etc/yum.repos.d/
 | 
			
		||||
 | 
			
		||||
RUN yum -y update; yum clean all;
 | 
			
		||||
RUN yum -y install epel-release openssl useradd; yum clean all
 | 
			
		||||
RUN groupadd -g 1000 ossec
 | 
			
		||||
RUN useradd -u 1000 -g 1000 ossec
 | 
			
		||||
RUN yum install -y wazuh-manager wazuh-api
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
ADD config/data_dirs.env /data_dirs.env
 | 
			
		||||
ADD config/init.bash /init.bash
 | 
			
		||||
# Sync calls are due to https://github.com/docker/docker/issues/9547
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user