2 LABEL maintainer "franck.villaume@trivialdev.com"
4 LABEL name "FusionForge"
5 LABEL vendor "TrivialDev"
6 LABEL description "all-in-one"
9 RUN sed -i '/nodocs/d' /etc/yum.conf
10 RUN yum -y install git openssh-server && \
13 RUN git clone https://scm.fusionforge.org/anonscm/git/fusionforge/fusionforge.git
14 WORKDIR /opt/sources/fusionforge
15 RUN git checkout master
16 RUN source ./autoinstall/common-backports && \
17 yum install -y make tar && \
19 yum --enablerepo=epel install -y httpd-itk && \
20 yum install -y gettext \
26 php-pear-Text_CAPTCHA \
46 libreoffice-headless \
55 RUN yum --enablerepo=epel install -y supervisor \
59 RUN curl https://kojipkgs.fedoraproject.org//packages/httpd-itk/2.4.7.04/1.el7/x86_64/httpd-itk-2.4.7.04-1.el7.x86_64.rpm -o httpd-itk-2.4.7.04-1.el7.x86_64.rpm && \
60 yum downgrade -y httpd-itk-2.4.7.04-1.el7.x86_64.rpm
62 RUN mkdir /var/run/sshd
63 RUN /usr/sbin/sshd-keygen
65 COPY ./supervisord.conf /etc/supervisord.conf
66 COPY ./startpoint.sh /startpoint.sh
67 COPY ./postinstall.sh /postinstall.sh
68 RUN chmod +x /startpoint.sh
69 RUN chmod +x /postinstall.sh
71 VOLUME ["/var/lib/pgsql", "/etc/fusionforge", "/var/lib/fusionforge"]
73 ENTRYPOINT ["/startpoint.sh"]