anchor.diff:              python \
               python-dev \
               python-pip \
  +            python-wheel \
               python3 \
               python3-venv \
               python3-dev \
  +            python3-wheel \
               build-essential \
               tar \
               git \
  
positive.code: FROM ubuntu:16.04
  
  ## Base Docker image with dependencies installed to build and run:
  ##   https://github.com/daneschi/berkeleytutorial
  ##   https://bitbucket.org/danschi/tuliplib
  
  RUN apt-get update
  RUN apt-get install --yes libarmadillo-dev libboost-all-dev swig doxygen python-breathe python-pip mpich cmake
  RUN pip install sphinxcontrib-bibtex
  
  ENV APP_DIR /srv/app
  ENV PATH ${APP_DIR}/venv/bin:$PATH
  
negative.code: 
  EXPOSE 8888
  USER jovyan
  
  ## Base Docker image with dependencies customized to build and run:
  ##   https://github.com/daneschi/berkeleytutorial
  ##   https://bitbucket.org/danschi/tuliplib
  
  USER root
  
  RUN apt-get update && \
      apt-get install --yes \
              libarmadillo-dev \
              libboost-all-dev \
              swig \
              doxygen \
              python-breathe \
              python-pip \
              python-wheel \
              mpich \
              cmake \
              cmake-curses-gui \
              && \
      apt-get purge && apt-get clean
  
  RUN pip install sphinxcontrib-bibtex
  
  ## Note: Because tuliplib is currently (as of June 2017) a private repo it is
  ## built separately and the binaries have been checked into this git repo as
  ## of this commit hash: https://bitbucket.org/danschi/tuliplib/src/de4686a
  ##
  ##     cd tutorial/
  ##     git clone https://bitbucket.org/danschi/tuliplib/src/de4686a
  ##     mkdir tulipBin ; cd tulipBin ; ccmke ../tuliplib
  
  USER jovyan
  