-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathDockerfile
More file actions
44 lines (35 loc) · 1.03 KB
/
Dockerfile
File metadata and controls
44 lines (35 loc) · 1.03 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
########################################################################################################################
# imsrg build stage
########################################################################################################################
FROM ubuntu:24.04 as build
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
build-essential \
gcc \
libomp-dev \
libopenblas-dev \
liblapack-dev \
libgsl-dev \
libhdf5-dev \
zlib1g-dev \
libboost-all-dev \
python3 \
python3-numpy \
cmake \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
RUN cmake .
RUN make
FROM ubuntu:24.04 as release
RUN apt-get update && apt-get install -y \
libomp-dev \
libgomp1 \
libopenblas-dev \
libgsl-dev \
python3 \
python3-numpy \
python3-sympy \
python3-pandas \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
COPY pyIMSRG.cpython-312-x86_64-linux-gnu.so /usr/local/lib/
ENV PYTHONPATH="$PYTHONPATH:/usr/local/lib/"
ENV LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib/"