Created
October 3, 2013 19:56
-
-
Save shreyaskarnik/6816117 to your computer and use it in GitHub Desktop.
Dockerfile for shreyask/mlnotebook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM lopter/raring-base | |
MAINTAINER Shreyas | |
# Basic Bootstrap | |
RUN echo "deb http://archive.ubuntu.com/ubuntu raring main universe" >> /etc/apt/sources.list | |
RUN apt-get update | |
RUN apt-get install -y libxml2-dev libxslt1.1 libxslt1-dev libevent-dev build-essential make python-dev python-dateutil libatlas-base-dev gfortran vim git wget libsqlite3-dev sqlite3 openssh-server libpq5 libpq-dev libpng-dev libjpeg8-dev libfreetype6-dev | |
RUN wget http://python-distribute.org/distribute_setup.py | |
RUN python distribute_setup.py | |
RUN wget --no-check-certificate http://raw.github.com/pypa/pip/master/contrib/get-pip.py | |
RUN python get-pip.py | |
RUN pip install numpy | |
RUN pip install scipy scikit-learn pandas sympy nose jinja2 pyzmq ipython nltk gensim | |
RUN python -m nltk.downloader -d /usr/share/nltk_data all | |
RUN pip install matplotlib | |
EXPOSE 8888 | |
CMD ipython notebook --pylab=inline --ip=* --MappingKernelManager.time_to_dead=10 --MappingKernelManager.first_beat=3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment