Skip to content

Commit 78ab9a3

Browse files
docker: remove hard-wired GAP version
1 parent c6ec857 commit 78ab9a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ MAINTAINER J. D. Mitchell <[email protected]>
44

55
COPY --chown=1000:1000 . $HOME/digraphs
66

7-
RUN rm -rf $HOME/inst/gap-4.10.2/pkg/digraphs-* && mv $HOME/digraphs $HOME/inst/gap-4.10.2/pkg/ && cd $HOME/inst/gap-4.10.2/pkg/digraphs && ./autogen.sh && ./configure && make
7+
RUN rm -rf $HOME/inst/gap-${GAP_VERSION}/pkg/digraphs-* && mv $HOME/digraphs $HOME/inst/gap-${GAP_VERSION}/pkg/ && cd $HOME/inst/gap-${GAP_VERSION}/pkg/digraphs && ./autogen.sh && ./configure && make
88

99
RUN sudo pip3 install ipywidgets RISE jupyter_francy
1010

@@ -16,4 +16,4 @@ RUN sudo jupyter nbextension enable --user --py --sys-prefix jupyter_francy
1616

1717
USER gap
1818

19-
WORKDIR $HOME/inst/gap-4.10.2/pkg/digraphs/notebooks
19+
WORKDIR $HOME/inst/gap-${GAP_VERSION}/pkg/digraphs/notebooks

0 commit comments

Comments
 (0)