summaryrefslogtreecommitdiffstats
path: root/src/main/docker
diff options
context:
space:
mode:
authorsunil unnava <sunil.unnava@att.com>2018-11-29 17:20:15 -0500
committersunil unnava <sunil.unnava@att.com>2018-11-29 17:20:37 -0500
commit45f2a0e67dec6c93d9e206c3787c2483aa49818b (patch)
tree4eb96ec91f80ccdbb13dcfa2e003638601bd786c /src/main/docker
parent76a5649489d58378ebd8fb869057a39f0bd5acc3 (diff)
remove the duplicate env variable1.0.0
Issue-ID: DMAAP-888 Change-Id: I5b7b4b4ef5d2f5489824f714d22917f9391bd79c Signed-off-by: sunil unnava <sunil.unnava@att.com>
Diffstat (limited to 'src/main/docker')
-rw-r--r--src/main/docker/Dockerfile5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/docker/Dockerfile b/src/main/docker/Dockerfile
index 37bc513..497bf7d 100644
--- a/src/main/docker/Dockerfile
+++ b/src/main/docker/Dockerfile
@@ -2,7 +2,6 @@ FROM ubuntu:16.04
ENV ZK_USER=root \
ZK_DATA_DIR=/var/lib/zookeeper/data \
- ZK_DATA_LOG_DIR=/var/lib/zookeeper/log \
ZK_LOG_DIR=/var/log/zookeeper \
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
@@ -43,8 +42,8 @@ COPY scripts /opt/zookeeper/bin/
# 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 \
- && mkdir -p $ZK_DATA_DIR $ZK_DATA_LOG_DIR $ZK_LOG_DIR /usr/share/zookeeper /tmp/zookeeper /usr/etc/ \
- && chown -R "$ZK_USER:$ZK_USER" /opt/$ZK_DIST $ZK_DATA_DIR $ZK_LOG_DIR $ZK_DATA_LOG_DIR /tmp/zookeeper \
+ && mkdir -p $ZK_DATA_DIR $ZK_LOG_DIR /usr/share/zookeeper /tmp/zookeeper /usr/etc/ \
+ && chown -R "$ZK_USER:$ZK_USER" /opt/$ZK_DIST $ZK_DATA_DIR $ZK_LOG_DIR /tmp/zookeeper \
&& ln -s /opt/zookeeper/conf/ /usr/etc/zookeeper \
&& ln -s /opt/zookeeper/bin/* /usr/bin \
&& ln -s /opt/zookeeper/$ZK_DIST.jar /usr/share/zookeeper/ \