anchor.diff:  RUN cd $ADD_PKG_PATH && \
       git clone https://github.com/fchollet/keras.git && \
       cd keras && \
  -    python setup.py install
  +    bash -c '. activate py3_deeplearning && \
  +    	python setup.py install && \ 
  +	. deactivate' 
  +
  +# Install tensorflow
  +USER root
  +RUN apt-get update && apt-get install -y python-dev python-pip 
  +
  +USER $NB_USER
  +RUN bash -c '. activate py3_deeplearning && \
  +	pip install --upgrade https://storage.googleapis.com/tensorflow/mac/tensorflow-0.8.0-py3-none-any.whl --ignore-installed && \
  +	. deactivate'
  +
  
positive.code: USER $NB_USER
  RUN cd $ADD_PKG_PATH && \
      git clone https://github.com/Theano/Theano.git && \
      cd Theano && python setup.py develop 
  
  # Set up .theanorc for BLAS 
  RUN echo "[blas]\nldflags=-L/usr/lib/ -lopenblas\n" > ~/.theanorc
  
negative.code: FROM lamdang/30_add_envs:latest
  
  MAINTAINER LAM DANG
  
  # Create new conda env for deep learning
  USER $NB_USER
  RUN conda create --yes -n py3_deeplearning --clone root
   
  USER root
  RUN  bash -c '. activate py3_deeplearning && \
          python -m ipykernel install --prefix=$CONDA_DIR --name python3_deeplearning --display-name "Python 3 Deep Learning" && \
          . deactivate'
  
  # Install Theano
  USER root
  