anchor.diff:  MAINTAINER mikko@meteo.fi
   
   ENV SMARTMET_DEVEL 0
  +ENV SMARTMET_LIBRARIES newbase macgyver gis spine locus tron imagine
  +ENV SMARTMET_ENGINES sputnik querydata geonames observation gis contour
  +ENV SMARTMET_PLUGINS timeseries download admin backend meta wfs frontend
   
   RUN mkdir -p /usr/local/src/smartmet /smartmet/data /etc/smartmet/plugins /etc/smartmet/engines /var/log/smartmet /usr/share/smartmet/timezones /var/smartmet/timeseriescache
   
  -RUN rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
  -RUN rpm -ivh https://download.postgresql.org/pub/repos/yum/9.3/redhat/rhel-7-x86_64/pgdg-centos93-9.3-3.noarch.rpm
  -
  -RUN yum -y update && yum -y install \
  +RUN rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && \
  +    rpm -ivh https://download.postgresql.org/pub/repos/yum/9.3/redhat/rhel-7-x86_64/pgdg-centos93-9.3-3.noarch.rpm && \
  +    yum -y update && yum -y install \
       	   	   bzip2-devel \
   		   cairo-devel cairo-gobject-devel \
        	   	   elfutils-devel \
  
positive.code: 		   xqilla-devel \
  		   xerces-c-devel \
      	   	   zlib-devel && \
      yum clean all
  
  RUN rpm -ivh http://www.nic.funet.fi/pub/mirrors/fedora.redhat.com/pub/epel/7/x86_64/c/cppformat-devel-2.0.0-1.el7.x86_64.rpm http://www.nic.funet.fi/pub/mirrors/fedora.redhat.com/pub/epel/7/x86_64/c/cppformat-2.0.0-1.el7.x86_64.rpm
  
  RUN rpm -ivh https://meteo.fi/docker/oracle-instantclient11.2-devel-11.2.0.4.0-1.x86_64.rpm \
      https://meteo.fi/docker/oracle-instantclient11.2-basic-11.2.0.4.0-1.x86_64.rpm
  
  RUN cd /usr/local/src/smartmet && \
      wget http://ctpp.havoc.ru/download/ctpp2-2.8.3.tar.gz && \
  
negative.code:     ./bootstrap.sh --without-libraries=mpi,graph_parallel && \
      ./b2 -j4 && \
      ./b2 install && \
      if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/boost_1_55_0; fi && \
      if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/boost_1_55_0.tar.gz; fi
  
  RUN cd /usr/local/src/smartmet && \
      wget http://ftp.gnome.org/pub/gnome/sources/librsvg/2.40/librsvg-2.40.6.tar.xz && \
  