Public Repository

Last pushed: 2 years ago
Short Description
theano and bunch of other python libraries
Full Description

FROM kaixhin/cuda-theano

Update pip

RUN pip install --upgrade pip

RUN apt-get install -y python-matplotlib

Install [cudnn 7.0 (v4)]

RUN wget --quiet -O cudnn-7.0-linux-x64-v4.0-rc.tar
RUN tar -xvf cudnn-7.0-linux-x64-v4.0-rc.tar && \
rm cudnn-7.0-linux-x64-v4.0-rc.tar

RUN ls /cuda/include/cudnn.h
RUN cp /cuda/include/cudnn.h /usr/local/cuda/include/
RUN cp /cuda/lib64/* /usr/local/cuda/lib64/

Install [H5py] # This is not an official installation but this works well.

RUN apt-get install -y python-h5py

Install [Requests]

RUN pip install --upgrade Request

Install [Ipython 3.2.1]

RUN pip install "ipython[notebook]==3.2.1"

Install [mpld3]

RUN pip install mpld3

Install [Scikit-learn]

#RUN pip install -U scikit-learn
RUN apt-get install -y \
build-essential python-dev python-setuptools \
libatlas-dev libatlas3gf-base

RUN update-alternatives --set \
/usr/lib/atlas-base/atlas/; \
update-alternatives --set \

RUN pip install -U scikit-learn

Install [Keras]

RUN apt-get install -y \
libhdf5-dev \

Upgrade six

RUN pip install --upgrade six

Clone Keras repo and move into it

RUN cd /root && git clone && cd keras && \


python install

Install [bleeding-edge Lasagne] # this is from Kaixhin's docker file

RUN pip install --upgrade

Gitclone Deeplearning tutorial(theano)

RUN cd /root && git clone

Install [bleeding-edge JSAnimation]

RUN cd /root && git clone && cd JSAnimation && \
python install

#RUN pip install --upgrade

Install [vim, screen]

RUN apt-get install -y vim screen

IPython nbserver

RUN ipython profile create nbserver
RUN cd /root && wget --quiet -O


RUN printf "export PATH=/usr/local/cuda/bin:$PATH\nexport LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH" >> /root/.bashrc
RUN printf "shell -/bin/bash" >> /root/.screenrc

Docker Pull Command

Comments (0)