From de1cfb5dfea79d17c6224264abd483271b8ae27e Mon Sep 17 00:00:00 2001 From: Parshad Patel Date: Thu, 8 Nov 2018 16:01:30 +0900 Subject: [PATCH] Disable portal-app default page Fix for Security: disable portal-app default page that targets tomcat 8.0.37 specific exploits issue Fix default tomcat webapps removal command in Dockerfile.portal Issue-ID: PORTAL-303 Change-Id: I9be563f0d824f687271fbdcf12e5785ff18ab83f Signed-off-by: Parshad Patel --- deliveries/Dockerfile.portal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deliveries/Dockerfile.portal b/deliveries/Dockerfile.portal index 9b9f5489..a2a143c4 100644 --- a/deliveries/Dockerfile.portal +++ b/deliveries/Dockerfile.portal @@ -30,7 +30,7 @@ RUN wget -q http://archive.apache.org/dist/tomcat/tomcat-8/v8.0.37/bin/apache-to RUN tar -xzf ${TOMCATTAR} RUN rm ${TOMCATTAR} # Remove manager and sample apps -RUN rm -fr ${TOMCAT}/webapps/[a-z]* +RUN rm -fr ${TOMCAT}/webapps/* RUN mkdir -p /opt COPY ${SERVERXML} ${TOMCAT}/conf RUN mv ${TOMCAT} /opt -- 2.16.6