diff --git a/docker/heka/Dockerfile.j2 b/docker/heka/Dockerfile.j2 index b5e8ea7f8e..64b669675b 100644 --- a/docker/heka/Dockerfile.j2 +++ b/docker/heka/Dockerfile.j2 @@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} RUN yum -y install https://github.com/mozilla-services/heka/releases/download/v0.10.0/heka-0_10_0-linux-amd64.rpm \ - && useradd heka + && useradd --user-group heka {% elif base_distro in ['ubuntu'] %}