anchor.diff: -# gui81/alfresco
  -
   FROM centos:centos7
  -MAINTAINER Lucas Johnson <lucasejohnson@netscape.net>
  +MAINTAINER Florian JUDITH <florian.judith.b@gmail.com>
   
   # install some necessary/desired RPMs and get updates
   RUN yum update -y && \
       yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && \
       yum install -y \
  +        git \
  +        ant \
           cups-libs \
           dbus-glib \
           fontconfig \
  
positive.code: COPY assets/install_alfresco.sh /tmp/install_alfresco.sh
  RUN /tmp/install_alfresco.sh && \
      rm -f /tmp/install_alfresco.sh
  # install mysql connector for alfresco
  COPY assets/install_mysql_connector.sh /tmp/install_mysql_connector.sh
  RUN /tmp/install_mysql_connector.sh && \
      rm -f /tmp/install_mysql_connector.sh
  # this is for LDAP configuration
  RUN mkdir -p /alfresco/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap/ldap1/
  COPY assets/ldap-authentication.properties /alfresco/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap/ldap1/ldap-authentication.properties
  
  # install scripts
  COPY assets/init.sh /alfresco/init.sh
  COPY assets/supervisord.conf /etc/supervisord.conf
  
  VOLUME /alfresco/tomcat/logs
  
  EXPOSE 21 137 138 139 445 7070 8009 8080
  CMD /usr/bin/supervisord -c /etc/supervisord.conf -n
  
negative.code:         wget && \
      yum clean all
  
  # install oracle java
  COPY assets/install_java.sh /tmp/install_java.sh
  RUN /tmp/install_java.sh && \
      rm -f /tmp/install_java.sh
  