diff options
author | su622b <su622b@att.com> | 2020-03-09 15:36:22 -0400 |
---|---|---|
committer | sunil unnava <su622b@att.com> | 2020-03-09 19:58:45 +0000 |
commit | 5ecc2c52c7464d9e070bf9e069183d5e136da5a4 (patch) | |
tree | 38d5986913c6fd632fd3a89e6c204d6e866d1ee3 /src/main/docker | |
parent | cb80472e9f82df3905ab98a791d1c29e3a0b621c (diff) |
confluent based image6.0.2
Issue-ID: DMAAP-1339
Change-Id: Iad217b569b81c51c031b640cac842ae796ff4ba5
Signed-off-by: su622b <su622b@att.com>
Diffstat (limited to 'src/main/docker')
-rw-r--r-- | src/main/docker/Dockerfile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/docker/Dockerfile b/src/main/docker/Dockerfile index 7f2590a..b483d3d 100644 --- a/src/main/docker/Dockerfile +++ b/src/main/docker/Dockerfile @@ -3,8 +3,6 @@ FROM confluentinc/cp-base:5.3.1 ENV COMPONENT=zookeeper \ ZK_USER=mrzookeeper - - RUN echo "===> installing ${COMPONENT}..." \ && apt-get update && apt-get install -y confluent-kafka-${SCALA_VERSION}=${CONFLUENT_VERSION}${CONFLUENT_PLATFORM_LABEL}-${CONFLUENT_DEB_VERSION} \ \ @@ -20,12 +18,13 @@ RUN set -x \ && apt-get update \ && apt-get install -y git \ && git clone -b master --single-branch http://gerrit.onap.org/r/dmaap/messagerouter/messageservice.git /tmp/zookeeper/gerrit + COPY include/etc/confluent/docker /etc/confluent/docker -#COPY zk_server_jaas.conf /etc/${COMPONENT}/secrets/jaas/ +RUN chmod -R +x /etc/confluent/docker RUN useradd -u 1000 -g 0 $ZK_USER USER $ZK_USER EXPOSE 2181 2888 3888 -CMD ["/etc/confluent/docker/run"] +CMD ["/etc/confluent/docker/run"]
\ No newline at end of file |