summaryrefslogtreecommitdiffstats
path: root/deliveries/Dockerfile.portal
diff options
context:
space:
mode:
authorParshad Patel <pars.patel@samsung.com>2018-11-08 16:01:30 +0900
committerParshad Patel <pars.patel@samsung.com>2018-11-08 16:02:13 +0900
commitde1cfb5dfea79d17c6224264abd483271b8ae27e (patch)
treec15b53b3c8f3541cfc649f09ce1f1b31dd96ce86 /deliveries/Dockerfile.portal
parent49d1b7109c9b7179ce9fd89696fe1ef8025e76a5 (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>
Diffstat (limited to 'deliveries/Dockerfile.portal')
-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