view Dockerfile @ 42:778218c42d18

Make step-by-step installation less error prone The pip install is now made before we clone (so we always install from PyPi) and the Git clone is made via HTTPS not SSH in case you do not have your SSH key on your GH account
author Brendan Rius <brendan.rius@gmail.com>
date Wed, 08 Jun 2016 10:34:02 +0100
parents f548e045cd24
children e9b123952dff
line wrap: on
line source

FROM jupyter/minimal-notebook
MAINTAINER Brendan Rius <ping@brendan-rius.com>

USER root

COPY ./ /home/$NB_USER/.jupyter/jupyter_c_kernel/
RUN pip install /home/$NB_USER/.jupyter/jupyter_c_kernel/
RUN jupyter-kernelspec install /home/$NB_USER/.jupyter/jupyter_c_kernel/c_spec/