Skip to content

Commit 24721f6

Browse files
Alter dockerfile so it can be used by github actions
1 parent b468745 commit 24721f6

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

Dockerfile

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,30 @@ RUN apt-get -qq update && \
1414
pip install networkx && \
1515
pip install pandas && \
1616
pip install tqdm && \
17+
pip install jupyter && \
1718
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*- && \
1819
pip install -U setuptools
1920

2021
# Get fenics_ii
2122
RUN git clone https://github.com/MiroK/fenics_ii.git && \
2223
cd fenics_ii && \
23-
python3 setup.py install --user && \
24+
python3 setup.py install && \
2425
cd ..
2526

27+
2628
# cbc.block
2729
RUN git clone https://bitbucket.org/fenics-apps/cbc.block && \
2830
cd cbc.block && \
29-
python3 setup.py install --user && \
31+
python3 setup.py install && \
32+
cd ..
33+
34+
# Get graphnics
35+
RUN git clone https://github.com/IngeborgGjerde/graphnics.git && \
36+
cd graphnics && \
37+
python3 setup.py install && \
3038
cd ..
3139

3240
# fix decorator error by reinstalling scipy
3341
RUN pip uninstall -y scipy && pip install scipy
3442

35-
# networkgen for creating arterial trees
36-
RUN git clone https://gitlab.com/ValletAlexandra/NetworkGen
37-
#cd NetworkGen && \
38-
##source setup.rc && \
39-
#cd ..
40-
# the source.setup.rc fails in docker build so we do it manually later
4143

42-
RUN python3 -m pip install jupyter

0 commit comments

Comments
 (0)