-
Notifications
You must be signed in to change notification settings - Fork 4
/
Dockerfile
26 lines (15 loc) · 1.07 KB
/
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
25
FROM gapsystem/gap-docker-master
MAINTAINER Markus Pfeiffer <markus.pfeiffer@morphism.de>
COPY --chown=1000:1000 . $HOME/OrbitalGraphs
USER root
RUN apt-get update && apt-get install python3-pip -y
RUN rm -rf $HOME/inst/gap-master/pkg/francy && mv $HOME/OrbitalGraphs $HOME/inst/gap-master/pkg \
&& cd $HOME/inst/gap-master/pkg && rm -rf francy* && git clone https://github.com/mcmartins/francy
# lab extension installation
# RUN cd $HOME/inst/gap-master/pkg/francy/js && npm install && npm run build:all \
# && cd $HOME/inst/gap-master/pkg/francy/extensions/jupyter && npm install && npm run build:all && pip3 install -e . && jupyter labextension link \
# && mv $HOME/inst/gap-master/pkg/francy/extensions/jupyter/jupyter_francy/nbextension $HOME/inst/gap-master/pkg/francy/extensions/jupyter/jupyter_francy/jupyter_francy \
# && jupyter nbextension install $HOME/inst/gap-master/pkg/francy/extensions/jupyter/jupyter_francy/jupyter_francy --user \
# && jupyter nbextension enable jupyter_francy/extension --user
USER gap
WORKDIR $HOME/inst/gap-master/pkg/OrbitalGraphs/notebooks