Skip to content

Commit 5508220

Browse files
committed
Force use of Python3 in docker
1 parent 43417c3 commit 5508220

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ RUN apt-get install python3.7 -y
1616
ENV TZ=US
1717
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
1818

19-
RUN apt-get install git swig python-dev python-numpy python-matplotlib python-h5py -y
19+
RUN apt-get install git swig python3-dev python3-numpy python3-matplotlib python3-h5py -y
2020

2121
#Build OpenMOC
2222
WORKDIR "/OpenMOC"
23-
RUN python setup.py install
23+
RUN python3 setup.py install --user
24+
RUN python3 setup.py install --user

0 commit comments

Comments
 (0)