anchor.diff:  #carto postgres extension
   RUN git clone https://github.com/CartoDB/cartodb-postgresql.git &&\
   cd cartodb-postgresql &&\
  +git checkout 0.18.5 &&\
   PGUSER=postgres make install
   
   #GIS dependencies
  
positive.code: #SQL API
  RUN git clone git://github.com/CartoDB/CartoDB-SQL-API.git &&\
  cd CartoDB-SQL-API &&\
  git checkout master &&\
  npm install 
  
  #MAPS API:
  
negative.code: ADD ./config/grunt_production.json /cartodb/config/grunt_production.json
  
  RUN locale-gen en_US.UTF-8
  RUN locale-gen pt_BR.UTF-8
  ENV LANG en_US.UTF-8
  ENV LANGUAGE en_US:en
  ENV LC_ALL pt_BR.UTF-8
  
  
  RUN cd cartodb &&\
      git checkout 4.0.4 &&\
      npm install npm@2.14.16 -g &&\
      npm -v &&\
      export PATH=$PATH:$PWD/node_modules/grunt-cli/bin &&\
      bundle install &&\
  