anchor.diff:  #             sed s/archive.ubuntu.com/mirrors.aliyun.com/ /etc/apt/sources.list.back > /etc/apt/sources.list
   # RUN         cat /etc/apt/sources.list
   
  -WORKDIR     ${STAGE_LOCATION}
  -
  -#
  -# Add ubuntu-gis and mapnik PPA
  -#
  -RUN         apt-get update && \
  -            apt-get -y install software-properties-common && \
  -            add-apt-repository -y ppa:mapnik/nightly-2.3
   
   #
   # Install binary packages
   #
   RUN         apt-get update &&\
               apt-get -y install python-dev python-pip \
  -                libz-dev \
  +                libz-dev unzip\
                   libjpeg-dev libtiff-dev libfreetype6-dev \
                   libwebp-dev liblcms2-dev imagemagick \
  -                libgeos-dev libgdal-dev gdal-bin python-gdal \
  -                python-mapnik
  +                libproj-dev libgeos-dev libgdal-dev gdal-bin python-gdal \
  +                libboost-all-dev libicu-dev \
  +                libfreetype6-dev libsqlite3-dev libpq-dev libcairo-dev
  +
  +#
  +# Install mapnik
  +#
  +
  +# XXX: Cheat by using our ready-to-install package, mapnik takes forever to build...
  +WORKDIR     /tmp/
  +ADD         http://cdn.masonmaps.me/dist/ubuntu-14.04/mapnik-2.3.x.tar.gz ./
  +RUN         tar xf mapnik-2.3.x.tar.gz
  +WORKDIR     /tmp/mapnik-2.3.x
  +RUN         make install
   
   #
   # Speedup pip by install "must have" python packages first
  
positive.code: #
  # Patch gdal data files, see
  #   https://launchpad.net/ubuntu/trusty/+source/gdal/+copyright
  ADD         http://cdn.masonmaps.me/dist/gdal-1.10.1/data/esri_extra.wkt /usr/share/gdal/1.10/
  
  #
  # Install stonemason
  #
  ADD         . ./
  RUN         pip install -rrequirements-dev.txt && \
              pip install .
  
negative.code: RUN         python setup.py build_ext -if
  RUN         tox -e py27geo
  RUN         stonemason init
  RUN         stonemason check
  
  RUN         rm -rf /tmp/stonemason && \
              rm -rf /tmp/mapnik-2.3.x && \
              rm /tmp/rose*
  