From d265053db8f271a189891c2d68c7a2c05cea4360 Mon Sep 17 00:00:00 2001 From: Christopher Hubing Date: Sun, 13 Nov 2016 19:12:29 -0500 Subject: [PATCH] Update Dockerfile to COPY ./etc/ /etc/ To allow users to copy any config files in /home/comanage/build/comanage/etc over to /etc on the container. --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index b8910e2..7a00281 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,12 @@ ENV VERSION=$version #ADD ./container_files /opt/ COPY autoexec/ /opt/autoexec/ COPY certs/ /opt/httpd/ssl/ + +# Copy any files found in /home/comanage/build/comanage/etc over to the container in /etc/, this is useful for shibboleth +# e.g. /etc/shibboleth2.xml, /etc/shibboleth/sp-key.pem, /etc/shibboleth/sp-cert.pem, /etc/shibboleth/inc-md-cert.pem, +# /etc/shibboleth/InCommon-metadata.xml +COPY ./etc/ /etc/ + COPY conf/00-comanage-443.conf /opt/etc/httpd/conf.d/virtual_host_443.conf RUN ln -s /opt/etc/httpd/conf.d/virtual_host_443.conf /etc/httpd/conf.d/00-comanage-443.conf VOLUME /etc/httpd/logs