From 87d26808ff89c611675a5eec6f9932cee3f33fd3 Mon Sep 17 00:00:00 2001 From: Josh Gibbs Date: Thu, 7 Apr 2022 18:59:30 -0700 Subject: [PATCH] remove TLSv1 from disabledAlgorithms Co-authored-by: Louis Orleans --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 22097ac..a5fd8ba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,6 +23,8 @@ RUN apt-get update && \ RUN mkdir /app && \ chown ${USER_ID}:${GROUP_ID} /app +RUN perl -i -pe 's/^(\h*jdk\.tls\.disabledAlgorithms\h*=\h*)([\w.\h<>\n\\,]*)(TLSv1[,\n\h]\h*)/$1$2/m' /usr/lib/jvm/zulu-7-amd64/jre/lib/security/java.security + COPY startapp.sh /startapp.sh COPY mountiso.sh /mountiso.sh