From: Parshad Patel Date: Thu, 8 Nov 2018 07:01:30 +0000 (+0900) Subject: Disable portal-app default page X-Git-Tag: 3.2.0~363^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=portal.git;a=commitdiff_plain;h=de1cfb5dfea79d17c6224264abd483271b8ae27e 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 --- 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