Skip to content
Permalink
abf6efc568
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
32 lines (24 sloc) 1011 Bytes
FROM tier/midpoint:4.3.2-SNAPSHOT
#FROM tier/midpoint:latest
MAINTAINER info@evolveum.com
ARG CSPHOSTNAME=localhost
ENV CSPHOSTNAME=$CSPHOSTNAME
ENV MP_DIR /opt/midpoint
ENV MP_MEM_MAX 2048m
RUN mkdir ${MP_DIR}/csv
VOLUME ${MP_DIR}/var
COPY container_files/mp-home/ ${MP_DIR}/var/
#Shibb SP
COPY container_files/shibboleth/ /etc/shibboleth/
COPY container_files/httpd/00-shib.conf /etc/httpd/conf.modules.d/
COPY container_files/httpd/midpoint-shib.conf /etc/httpd/conf.d/
COPY container_files/httpd/vhosts.conf /etc/httpd/conf.d/vhosts/
#set dynamic hostname
COPY container_files/system/setservername.sh /usr/local/bin/
RUN chmod 755 /usr/local/bin/setservername.sh
#set hostname
RUN /usr/local/bin/setservername.sh
RUN yum install -y graphviz
#COPY container_files/supervisor/supervisord.conf /etc/supervisor/
#set shib auth in apache
#RUN mv /etc/httpd/conf.d/midpoint.conf /etc/httpd/conf.d/midpoint.conf.default && mv /etc/httpd/conf.d/midpoint.conf.auth.shibboleth /etc/httpd/conf.d/midpoint.conf