summaryrefslogtreecommitdiffstats
path: root/deliveries
diff options
context:
space:
mode:
authorParshad Patel <pars.patel@samsung.com>2018-11-08 16:01:30 +0900
committerManoop Talasila <talasila@research.att.com>2018-11-09 14:42:43 +0000
commit005e7813d9fe164a54a96bf13997a0cf2498542f (patch)
tree80dff4fd5fa12919da8a8c54ec5f0d84308ec553 /deliveries
parentbc6e0262c7d02764019055f5930043b94ffaa9f4 (diff)
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 <pars.patel@samsung.com> (cherry picked from commit de1cfb5dfea79d17c6224264abd483271b8ae27e)
Diffstat (limited to 'deliveries')
-rw-r--r--deliveries/Dockerfile.portal2
1 files changed, 1 insertions, 1 deletions
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