diff options
Diffstat (limited to 'src')
-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 |