forked from bduggan/raku-jupyter-kernel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
24 lines (20 loc) · 949 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM jupyter/all-spark-notebook:033056e6d164
# last update: Mon Jan 22 09:34:22 EST 2018
USER root
RUN apt-get update \
&& apt-get install -y build-essential \
&& git clone https://github.com/rakudo/rakudo.git -b 2017.12 \
&& cd rakudo && perl Configure.pl --prefix=/usr --gen-moar --gen-nqp --backends=moar \
&& make && make install && cd .. && rm -rf rakudo \
&& export PATH=$PATH:/usr/share/perl6/site/bin \
&& git clone https://github.com/ugexe/zef.git \
&& cd zef && perl6 -Ilib bin/zef install . \
&& cd .. && rm -rf zef \
&& zef -v install https://github.com/bduggan/[email protected] \
&& zef -v install SVG::Plot --force-test \
&& git clone https://github.com/bduggan/p6-jupyter-kernel.git \
&& mv p6-jupyter-kernel/eg . && rm -rf p6-jupyter-kernel \
&& chown -R $NB_USER:$NB_GID eg \
&& fix-permissions eg \
&& jupyter-kernel.p6 --generate-config
ENV PATH /usr/share/perl6/site/bin:$PATH