Changes to ZK config generation 44/73444/1
authorsunil unnava <sunil.unnava@att.com>
Fri, 23 Nov 2018 22:16:30 +0000 (17:16 -0500)
committersunil unnava <sunil.unnava@att.com>
Fri, 23 Nov 2018 22:16:45 +0000 (17:16 -0500)
Issue-ID: DMAAP-888
Change-Id: I3e000fbe5a73f224cdcdcdb2a7def57f9bdeee3b
Signed-off-by: sunil unnava <sunil.unnava@att.com>
src/main/docker/Dockerfile

index d8e7bd9..9e0b1ea 100644 (file)
@@ -49,7 +49,6 @@ RUN chown -R $ZK_USER:$ZK_USER /opt/zookeeper/bin/zookeeper-ready.sh
 # Create a user for the zookeeper process and configure file system ownership
 # for necessary directories and symlink the distribution as a user executable
 RUN set -x \
-    && useradd $ZK_USER \
     && [ `id -u $ZK_USER` -eq 1000 ] \
     && [ `id -g $ZK_USER` -eq 1000 ] \
     && mkdir -p $ZK_DATA_DIR $ZK_DATA_LOG_DIR $ZK_LOG_DIR /usr/share/zookeeper /tmp/zookeeper /usr/etc/ \