From 5173af3cce28bae015cbdb5170c93d2654739873 Mon Sep 17 00:00:00 2001 From: Arne Neumann Date: Thu, 18 Aug 2022 11:53:59 +0200 Subject: [PATCH] fix 'Connection failed': remove all java.security restrictions This helps avoid the 'Connection failed' error on some iDRAC6 servers (cf. https://github.com/DomiStyle/docker-idrac6/issues/26#issuecomment-1145394137) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a5fd8ba..f17ec48 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,7 +23,7 @@ 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 +RUN rm /usr/lib/jvm/zulu-7-amd64/jre/lib/security/java.security COPY startapp.sh /startapp.sh COPY mountiso.sh /mountiso.sh