From bf49435c10210966d0347685a0aa43f687db921c Mon Sep 17 00:00:00 2001 From: Christopher Hubing Date: Thu, 22 Feb 2018 10:46:58 -0500 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 5eaafad..66e98bc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,6 +32,10 @@ RUN curl -o /etc/yum.repos.d/security:shibboleth.repo \ && rm /etc/httpd/conf.d/welcome.conf \ && chmod +x /opt/bin/httpd-shib-foreground \ && chmod +x /opt/bin/shibboleth_keygen.sh + +# Export this variable so that shibd can find its CURL library +RUN LD_LIBRARY_PATH="/opt/shibboleth/lib64" +RUN export LD_LIBRARY_PATH #Script to start service, Added ssl default conf, Added shib module apache RUN ln -s /opt/bin/httpd-shib-foreground /usr/local/bin && ln -s /opt/etc/httpd/conf.d/ssl.conf /etc/httpd/conf.d/ssl.conf && ln -s /opt/etc/httpd/conf.modules.d/00-shib.conf /etc/httpd/conf.modules.d/00-shib.conf && ln -s /usr/lib64/shibboleth/mod_shib_24.so /etc/httpd/modules/mod_shib_24.so