From 4d53e836c0a5462679119f2e914a0389deeb4e8e Mon Sep 17 00:00:00 2001 From: Paul Caskey Date: Thu, 30 Mar 2017 15:53:30 -0500 Subject: [PATCH] add robots.txt to IdP --- Dockerfile | 4 ++++ files/robots.txt | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 files/robots.txt diff --git a/Dockerfile b/Dockerfile index 5aca1ed..7d9970b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -90,10 +90,14 @@ RUN set -x \ && rm bin/*.bat \ && rm tomcat.tar.gz* \ && mkdir -p conf/Catalina \ + && mkdir -p webapps/ROOT \ && curl -o /usr/local/tomcat/lib/jstl1.2.jar https://build.shibboleth.net/nexus/service/local/repositories/thirdparty/content/javax/servlet/jstl/1.2/jstl-1.2.jar ADD files/idp.xml conf/Catalina/idp.xml ADD files/server.xml conf/server.xml +ADD files/robots.txt webapps/ROOT/robots.txt + + ADD files/bin/setenv.sh /opt/tier/setenv.sh RUN chmod +x /opt/tier/setenv.sh diff --git a/files/robots.txt b/files/robots.txt new file mode 100644 index 0000000..1f53798 --- /dev/null +++ b/files/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: /