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