File tree Expand file tree Collapse file tree 1 file changed +17
-8
lines changed
Expand file tree Collapse file tree 1 file changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -43,15 +43,24 @@ RUN apt-get update && \
4343 apt-get autoremove && \
4444 rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
4545
46- # replace shell with bash so we can source files
47- RUN rm /bin/sh && ln -s /bin/bash /bin/sh
48-
49- RUN apt-get update && apt-get install -my wget gnupg
46+ # install wget
5047RUN apt-get update
51- RUN apt-get install -y curl
52- RUN curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
53- RUN apt-get install -y nodejs libzmq3-dev build-essential && npm install -g ijavascript
54- RUN ijs --ijs-install-kernel
48+ RUN apt-get install -y wget
49+
50+ # install nodejs
51+ WORKDIR /tmp
52+ RUN wget https://nodejs.org/download/release/v0.12.9/node-v0.12.9-linux-x64.tar.gz
53+ RUN tar xzf node-v0.12.9-linux-x64.tar.gz
54+ RUN sudo cp -rp node-v0.12.9-linux-x64 /usr/local/
55+ RUN sudo ln -s /usr/local/node-v0.12.9-linux-x64 /usr/local/node
56+ ENV PATH /usr/local/node/bin:$PATH
57+
58+ # install jupyter-nodejs
59+ RUN mkdir -p $HOME/.ipython/kernels/nodejs
60+ RUN wget https://github.com/notablemind/jupyter-nodejs/releases/download/v1.1.0/jupyter-nodejs-1.1.0.tgz
61+ RUN tar xf jupyter-nodejs-1.1.0.tgz
62+ WORKDIR /tmp/package
63+ RUN npm install && node install.js
5564
5665RUN cd $HOME/work;\
5766 pip install octave_kernel sos sos-notebook scipy plotly dash dash_core_components dash_html_components dash_dangerously_set_inner_html dash-renderer flask==0.12.2;\
You can’t perform that action at this time.
0 commit comments