anchor.diff:      make -j4 && make install && \
       if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/smartmet-server; fi
   
  -RUN cd /usr/local/src/smartmet && \
  -    git clone https://github.com/fmidev/smartmet-engine-sputnik.git && \
  -    cd smartmet-engine-sputnik && \
  -    make -j4 && make install && \
  -    if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/smartmet-engine-sputnik; fi
  +RUN for ENGINE in ${SMARTMET_ENGINES}; \
  +      do \
  +	 cd /usr/local/src/smartmet && \    
  +         git clone https://github.com/fmidev/smartmet-engine-${ENGINE}.git && \
  +	 cd smartmet-engine-${ENGINE} && \
  +	 make -j4 && make install  && \
  +	 if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/smartmet-engine-${ENGINE}; fi \
  +      done
   
  -RUN cd /usr/local/src/smartmet && \
  -    git clone https://github.com/fmidev/smartmet-engine-querydata.git && \
  -    cd smartmet-engine-querydata && \
  -    make -j4 && make install && \
  -    if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/smartmet-engine-querydata; fi
  -
  -RUN cd /usr/local/src/smartmet && \
  -    git clone https://github.com/fmidev/smartmet-library-locus.git && \
  -    cd smartmet-library-locus && \
  -    make -j4 && make install && \
  -    if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/smartmet-library-locus; fi
  -
  -RUN cd /usr/local/src/smartmet && \
  -    git clone https://github.com/fmidev/smartmet-engine-geonames.git && \
  -    cd smartmet-engine-geonames && \
  -    make -j4 && make install && \
  -    if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/smartmet-engine-geonames; fi
  -
  -RUN cd /usr/local/src/smartmet && \
  -    git clone https://github.com/fmidev/smartmet-engine-observation.git && \
  -    cd smartmet-engine-observation && \
  -    make -j4 && make install && \
  -    if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/smartmet-engine-geonames; fi
  -
  -RUN cd /usr/local/src/smartmet && \
  -    git clone https://github.com/fmidev/smartmet-engine-gis.git && \
  -    cd smartmet-engine-gis && \
  -    make -j4 && make install && \
  -    if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/smartmet-engine-gis; fi
  -
  -RUN cd /usr/local/src/smartmet && \
  -    git clone https://github.com/fmidev/smartmet-plugin-timeseries.git && \
  -    cd smartmet-plugin-timeseries && \
  -    make -j4 && make install && \
  -    if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/smartmet-plugin-timeseries; fi
  +RUN for PLUGIN in ${SMARTMET_PLUGINS}; \
  +      do \
  +      	 cd /usr/local/src/smartmet && \
  +    	 git clone https://github.com/fmidev/smartmet-plugin-${PLUGIN}.git && \
  +    	 cd smartmet-plugin-${PLUGIN} && \
  +	 if [ -f smartmet-plugin-frontend.spec ]; then sed -e 's/json_spirit\/json_spirit.h/json_spirit.h/g' -i source/Plugin.cpp; fi && \
  +    	 make -j4 && make install && \
  +    	 if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/smartmet-plugin-${PLUGIN}; fi \
  +      done
   
   RUN mkdir -p /usr/share/smartmet/timezones && \
       cd /usr/share/smartmet/timezones && \
       wget https://raw.githubusercontent.com/boost-vault/date_time/master/date_time_zonespec.csv
  -
  -RUN cd /usr/local/src/smartmet && \
  -    git clone https://github.com/fmidev/smartmet-plugin-download.git && \
  -    cd smartmet-plugin-download && \
  -    make -j4 && make install && \
  -    if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/smartmet-plugin-download; fi
  -
  -RUN cd /usr/local/src/smartmet && \
  -    git clone https://github.com/fmidev/smartmet-library-tron.git && \
  -    cd smartmet-library-tron && \
  -    make -j4 && make install && \
  -    if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/smartmet-library-tron; fi
  -
  -RUN cd /usr/local/src/smartmet && \
  -    git clone https://github.com/fmidev/smartmet-engine-contour.git && \
  -    cd smartmet-engine-contour && \
  -    make -j4 && make install && \
  -    if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/smartmet-engine-contour; fi
  -
  -RUN cd /usr/local/src/smartmet && \
  -    git clone https://github.com/fmidev/smartmet-plugin-admin.git && \
  -    cd smartmet-plugin-admin && \
  -    make -j4 && make install && \
  -    if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/smartmet-plugin-admin; fi
  -
  -RUN cd /usr/local/src/smartmet && \
  -    git clone https://github.com/fmidev/smartmet-plugin-backend.git && \
  -    cd smartmet-plugin-backend && \
  -    make -j4 && make install && \
  -    if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/smartmet-plugin-backend; fi
  -
  -RUN cd /usr/local/src/smartmet && \
  -    git clone https://github.com/fmidev/smartmet-plugin-meta.git && \
  -    cd smartmet-plugin-meta && \
  -    make -j4 && make install && \
  -    if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/smartmet-plugin-meta; fi
  -
  -RUN cd /usr/local/src/smartmet && \
  -    git clone https://github.com/fmidev/smartmet-plugin-wfs.git && \
  -    cd smartmet-plugin-wfs && \
  -    make -j4 && make install && \
  -    if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/smartmet-plugin-wfs; fi
  -
  -RUN cd /usr/local/src/smartmet && \
  -    git clone https://github.com/fmidev/smartmet-library-imagine.git && \
  -    cd smartmet-library-imagine && \
  -    make -j4 && make install && \
  -    if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/smartmet-library-imagine; fi
  -
  -#RUN cd /usr/local/src/smartmet && \
  -#    git clone https://github.com/fmidev/smartmet-library-giza.git && \
  -#    cd smartmet-library-giza && \
  -#    export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig && make -j4 && make install
  -
  -RUN cd /usr/local/src/smartmet && \
  -    git clone https://github.com/fmidev/smartmet-plugin-frontend.git && \
  -    cd smartmet-plugin-frontend && \
  -    sed -e 's/json_spirit\/json_spirit.h/json_spirit.h/g' -i source/Plugin.cpp && \
  -    make -j4 && make install && \
  -    if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/smartmet-plugin-frontend; fi
  -
  -#RUN cd /usr/local/src/smartmet && \
  -#    git clone https://github.com/fmidev/smartmet-plugin-autocomplete.git && \
  -#    cd smartmet-plugin-autocomplete && \
  -#    make -j4 && make install
  -
  -#RUN ldconfig -v
   
   COPY smartmetconf /etc/smartmet
   COPY timezones /usr/share/smartmet/timezones
  
positive.code:     export CPPFLAGS="-I/usr/include/glib-2.0/" && \
      ./configure --disable-static --disable-gtk-doc --disable-gtk-theme --enable-introspection && \
      make -j4 && make install && \
      if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/librsvg-2.40.6; fi
  
  RUN cd /usr/local/src/smartmet && \
      wget http://il.ma/json_spirit_v4.08.zip && \
  
negative.code: 		   xqilla-devel \
  		   xerces-c-devel \
      	   	   zlib-devel && \
      yum clean all && \
      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 \
  	     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 && \
  