summaryrefslogtreecommitdiffstats
path: root/src/main/docker/Dockerfile
diff options
context:
space:
mode:
authorsunil unnava <sunil.unnava@att.com>2018-11-29 15:23:25 -0500
committersunil unnava <sunil.unnava@att.com>2018-11-29 15:23:40 -0500
commit4a49829ddac71f1817c03425dd6efd8c4b7b07a5 (patch)
treeb7dc38e86d010ec1316dca617e614b62a7ce9c67 /src/main/docker/Dockerfile
parenta4256a3493fee31d78435ed014f78e19fe4e6d18 (diff)
Added docker entry point
Issue-ID: DMAAP-888 Change-Id: I962ef0a14ac946c39f632051d5a352b368b68910 Signed-off-by: sunil unnava <sunil.unnava@att.com>
Diffstat (limited to 'src/main/docker/Dockerfile')
-rw-r--r--src/main/docker/Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/docker/Dockerfile b/src/main/docker/Dockerfile
index 77dcf59..37bc513 100644
--- a/src/main/docker/Dockerfile
+++ b/src/main/docker/Dockerfile
@@ -50,4 +50,6 @@ RUN set -x \
&& ln -s /opt/zookeeper/$ZK_DIST.jar /usr/share/zookeeper/ \
&& ln -s /opt/zookeeper/lib/* /usr/share/zookeeper
-RUN chmod -R 777 /opt/zookeeper/bin \ No newline at end of file
+RUN chmod -R 777 /opt/zookeeper/bin
+ENTRYPOINT /opt/zookeeper/bin/start-zookeeper.sh
+EXPOSE 2181 2888 3888