Skip to content

Instantly share code, notes, and snippets.

@yarapavan
Last active December 20, 2015 21:49
Show Gist options
  • Save yarapavan/6200580 to your computer and use it in GitHub Desktop.
Save yarapavan/6200580 to your computer and use it in GitHub Desktop.
Dockerfile for iPython
FROM ubuntu
MAINTAINER Pavan Yara "yarapavan@gmail.com"
RUN echo "deb http://us.archive.ubuntu.com/ubuntu/ precise universe" >> /etc/apt/sources.list
RUN apt-get update
RUN apt-get install -y python-setuptools python-pip python-numpy python-scipy python-matplotlib python-pandas python-sympy python-nose
RUN pip install ipython jinja2 pyzmq readline tornado requests
RUN apt-get install -y openssh-server supervisor
ADD sshd.conf /etc/supervisor/conf.d/sshd.conf
RUN mkdir -p /var/run/sshd
RUN echo root:root | chpasswd
EXPOSE 22
EXPOSE 8888
CMD /usr/bin/supervisord -n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment