update user and group uid in the wazuh installation

This commit is contained in:
Jose Luis
2017-02-22 12:54:28 -05:00
parent c5fa92e610
commit 3315c9d1e7

View File

@@ -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