mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-10-31 20:13:38 +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 update; yum clean all;
|
||||||
RUN yum -y install epel-release openssl useradd; 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
|
RUN yum install -y wazuh-manager wazuh-api
|
||||||
|
|
||||||
|
|
||||||
ADD config/data_dirs.env /data_dirs.env
|
ADD config/data_dirs.env /data_dirs.env
|
||||||
ADD config/init.bash /init.bash
|
ADD config/init.bash /init.bash
|
||||||
# Sync calls are due to https://github.com/docker/docker/issues/9547
|
# Sync calls are due to https://github.com/docker/docker/issues/9547
|
||||||
|
|||||||
Reference in New Issue
Block a user