-
Notifications
You must be signed in to change notification settings - Fork 7
/
Dockerfile
41 lines (29 loc) · 799 Bytes
/
Dockerfile
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
FROM ubuntu
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
python3 \
pip \
make \
git \
wget \
libssl-dev \
libcurl4-openssl-dev \
libtool \
autoconf \
automake
RUN rm -rf /var/lib/apt/lists/*
RUN wget https://ftp.mcs.anl.gov/pub/darshan/releases/darshan-3.4.4.tar.gz
RUN tar zxvf darshan-3.4.4.tar.gz
WORKDIR /darshan-3.4.4/
RUN bash prepare.sh
WORKDIR /darshan-3.4.4/darshan-util/
RUN ./configure --prefix=/opt/darshan && make && make install
ENV PATH=/opt/darshan/bin:$PATH
ENV LD_LIBRARY_PATH=/opt/darshan/lib:$LD_LIBRARY_PATH
WORKDIR /
RUN git clone https://github.com/hpc-io/drishti-io
WORKDIR /drishti-io
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
RUN pip install .
ENTRYPOINT ["drishti"]