-
Notifications
You must be signed in to change notification settings - Fork 1
/
swanimage.Dockerfile
20 lines (14 loc) · 982 Bytes
/
swanimage.Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM cernphsft/systemuser:test
# #Possible fix for serverextension not loading??
RUN pip install jupyter_nbextensions_configurator
ADD ./notebooks/ /notebooks/
RUN which pip3; pip3 install https://github.com/krishnan-r/sparkmonitor/releases/download/v0.0.8/sparkmonitor.tar.gz
RUN which pip2; pip2 install https://github.com/krishnan-r/sparkmonitor/releases/download/v0.0.8/sparkmonitor.tar.gz
RUN which pip; pip install https://github.com/krishnan-r/sparkmonitor/releases/download/v0.0.8/sparkmonitor.tar.gz
#RUN sudo /usr/local/bin/jupyter serverextension enable sparkmonitor --py
RUN which jupyter; jupyter serverextension enable sparkmonitor --sys-prefix --py
RUN which jupyter; jupyter serverextension enable sparkmonitor --user --py
RUN which jupyter; jupyter serverextension enable sparkmonitor --py
# RUN which jupyter; jupyter serverextension enable sparkmonitor --system --py
ADD startup.py /srv/singleuser/startup.py
ADD systemuser.sh /srv/singleuser/systemuser.sh