docker: removed as it exists in base image: echo 'networkaddress.cache.ttl=60' >> /etc/java-17-openjdk/security/java.security

This commit is contained in:
Sergey Matvienko 2023-10-24 13:57:22 +02:00
parent 76ff8f4d93
commit f4a4782d83

View File

@ -18,8 +18,7 @@ FROM thingsboard/openjdk17:bookworm-slim
COPY start-tb-node.sh ${pkg.name}.deb /tmp/
RUN echo 'networkaddress.cache.ttl=60' >> /etc/java-17-openjdk/security/java.security \
&& chmod a+x /tmp/*.sh \
RUN chmod a+x /tmp/*.sh \
&& mv /tmp/start-tb-node.sh /usr/bin && \
(yes | dpkg -i /tmp/${pkg.name}.deb) && \
rm /tmp/${pkg.name}.deb && \