This is an automated email from the ASF dual-hosted git repository.

eolivelli pushed a commit to branch 2.7.2_ds_tmp
in repository https://gitbox.apache.org/repos/asf/pulsar.git

commit c9e071cca7291ccfdcb72df6e644c6174c33c470
Author: Chris Bartholomew <c_bartholo...@yahoo.com>
AuthorDate: Sun Sep 13 11:20:59 2020 -0400

    Update path for TTL config in Java 11
    
    (cherry picked from commit 341f7a9897aa03dd446432c0b8a9d1a9fabb6fb2)
---
 docker/pulsar/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docker/pulsar/Dockerfile b/docker/pulsar/Dockerfile
index 54609e8..a224c33 100644
--- a/docker/pulsar/Dockerfile
+++ b/docker/pulsar/Dockerfile
@@ -56,7 +56,7 @@ RUN update-alternatives --install /usr/bin/python python 
/usr/bin/python3 10
 
 ADD target/python-client/ /pulsar/pulsar-client
 ADD target/cpp-client/ /pulsar/cpp-client
-RUN echo networkaddress.cache.ttl=1 >> 
$JAVA_HOME/jre/lib/security/java.security
+RUN echo networkaddress.cache.ttl=1 >> $JAVA_HOME/conf/security/java.security
 RUN apt-get update \
      && apt install -y /pulsar/cpp-client/*.deb \
      && apt-get clean \

Reply via email to