forked from mit-crpg/OpenMOC
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (19 loc) · 727 Bytes
/
Dockerfile
File metadata and controls
24 lines (19 loc) · 727 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#Use latest Ubuntu version as parent image
# FIXME: Decide on a specific version of ubuntu
FROM ubuntu:latest
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y git && \
apt-get install --reinstall build-essential -y
#Clone Repository
RUN git clone -b 3D-MOC https://github.com/mit-crpg/OpenMOC.git /OpenMOC/
#Install necessary python dependencies
RUN apt-get install python3.7 -y
#Response to Tzdata package
ENV TZ=US
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get install git swig python3-dev python3-numpy python3-matplotlib python3-h5py -y
#Build OpenMOC
WORKDIR "/OpenMOC"
RUN python3 setup.py install --user
RUN python3 setup.py install --user