Mercurial > hg > Members > aka > jupyter_CbC_kernel
annotate Dockerfile @ 58:8a8a9952c887
Change install procedure
author | Brendan Rius <brendan.rius@gmail.com> |
---|---|
date | Thu, 10 Aug 2017 17:00:32 +0200 |
parents | e9b123952dff |
children | f07ad089f063 |
rev | line source |
---|---|
9 | 1 FROM jupyter/minimal-notebook |
2 MAINTAINER Brendan Rius <ping@brendan-rius.com> | |
3 | |
4 USER root | |
5 | |
58
8a8a9952c887
Change install procedure
Brendan Rius <brendan.rius@gmail.com>
parents:
45
diff
changeset
|
6 WORKDIR /tmp |
45 | 7 |
8 COPY ./ jupyter_c_kernel/ | |
9 | |
58
8a8a9952c887
Change install procedure
Brendan Rius <brendan.rius@gmail.com>
parents:
45
diff
changeset
|
10 RUN pip install --no-cache-dir -e jupyter_c_kernel/ |
8a8a9952c887
Change install procedure
Brendan Rius <brendan.rius@gmail.com>
parents:
45
diff
changeset
|
11 RUN cd jupyter_c_kernel && python -m jupyter_c_kernel.install_c_kernel --user |
45 | 12 |
13 WORKDIR /home/$NB_USER/ | |
58
8a8a9952c887
Change install procedure
Brendan Rius <brendan.rius@gmail.com>
parents:
45
diff
changeset
|
14 |
8a8a9952c887
Change install procedure
Brendan Rius <brendan.rius@gmail.com>
parents:
45
diff
changeset
|
15 USER $NB_USER |