anchor.diff:      make  && make install && \
       if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/json_spirit_v4.08; fi && \
       if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/json_spirit_v4.08.zip; fi && \
  -# sparsehash
  -    cd /usr/local/src/smartmet && \
  -    git clone https://github.com/sparsehash/sparsehash.git && \
  -    cd sparsehash && \
  -    ./configure && \
  -    make && make install && \
  -    if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/sparsehash; fi && \
   # atomic_shared_ptr
       mkdir -p /usr/local/include/jssatomic && wget -O /usr/local/include/jssatomic/atomic_shared_ptr.hpp https://bitbucket.org/anthonyw/atomic_shared_ptr/raw/7bdef03f6536f4b9118d267b68da211297cc0143/atomic_shared_ptr && \
   # ldconfig
  
positive.code: 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
  ENV MAKEFLAGS -j8
  
  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
  
negative.code:     	   	   protobuf-devel protobuf-compiler \
      	   	   postgresql93-devel \
      	   	   python-devel\
  #    	   	   scons \
  		   soci-devel soci-sqlite3-devel \
  		   sqlite-devel \
      	   	   unzip \
  