From 0d6bc3f152683b2f94727bbfc0b5bd81d9501790 Mon Sep 17 00:00:00 2001 From: Scott Koranda Date: Thu, 27 Jun 2019 11:21:57 -0500 Subject: [PATCH] Remove shibboleth2.xml template file from I2 TAP image Remove the shibboleth2.xml template file installed by the RPM from the image so that it is not included when a volume is created from the mount point /etc/shibboleth, which is declared using the VOLUME instruction. --- comanage-registry-internet2-tier/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/comanage-registry-internet2-tier/Dockerfile b/comanage-registry-internet2-tier/Dockerfile index c4006c1..1f2a3dd 100644 --- a/comanage-registry-internet2-tier/Dockerfile +++ b/comanage-registry-internet2-tier/Dockerfile @@ -104,7 +104,8 @@ RUN cd /etc/httpd/conf.d \ && cd /var/www/html \ && ln -s ${COMANAGE_REGISTRY_DIR}/app/webroot registry \ && rm -rf ${COMANAGE_REGISTRY_DIR}/local/* \ - && chown -R apache:apache ${COMANAGE_REGISTRY_DIR}/app/tmp + && chown -R apache:apache ${COMANAGE_REGISTRY_DIR}/app/tmp \ + && rm -f /etc/shibboleth/shibboleth2.xml # Allow values for first administrator bootstrapped into the # platform to be specified at image build time, in addition to