anchor.diff:  MAINTAINER Allan Costa <allaninocencio@yahoo.com.br>
   
   # Install dependencies
  -RUN apt-get update
  -RUN apt-get install -y \
  +RUN apt-get update && \
  +    apt-get install -y \
  +    curl \
       wget \
       git-core \
       gcc \
  
positive.code: # Use gcc to match nupic.core binary
  ENV CC gcc
  ENV CXX g++
  
  # Install capnproto from source
  RUN wget https://capnproto.org/capnproto-c++-0.5.2.tar.gz && \
      tar zxf capnproto-c++-0.5.2.tar.gz && \
      cd capnproto-c++-0.5.2 && \
      ./configure && \
      make check && \
      make install
  
  # Set enviroment variables needed by NuPIC
  ENV NUPIC /usr/local/src/nupic
  
negative.code: WORKDIR /usr/local/src/nupic.core
  
  # Build nupic.core
  RUN pip install \
          --cache-dir /usr/local/src/nupic.core/pip-cache \
          --build /usr/local/src/nupic.core/pip-build \
          --no-clean \
          pycapnp==0.5.5 \
          -r bindings/py/requirements.txt && \
      python setup.py install
  
  WORKDIR /usr/local/src/nupic
  
  