Skip to content

Commit

Permalink
Re-insert config for DNS negative cache
Browse files Browse the repository at this point in the history
  • Loading branch information
merlimat committed Mar 4, 2024
1 parent 6863f9d commit b2a5769
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/pulsar/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ RUN apk add --no-cache amazon-corretto-21 binutils
# This still includes all JDK modules, though in the future we could compile a list of required modules
RUN /usr/lib/jvm/default-jvm/bin/jlink --add-modules ALL-MODULE-PATH --compress zip-9 --no-man-pages --no-header-files --strip-debug --output /opt/jvm
RUN echo networkaddress.cache.ttl=1 >> /opt/jvm/conf/security/java.security
RUN echo networkaddress.cache.negative.ttl=1 >> /opt/jvm/conf/security/java.security


## Create final stage from Alpine image
Expand Down

0 comments on commit b2a5769

Please sign in to comment.