-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathubuntu_mpich
21 lines (18 loc) · 1.26 KB
/
ubuntu_mpich
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM ubuntu:18.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get -q update -y
RUN apt-get -qq install -y sudo make cmake automake autoconf libtool cmake-data git vim g++ gfortran flex doxygen graphviz pandoc python2.7 libmpich-dev libhdf5-mpich-dev libcereal-dev liblapacke-dev libexodusii-dev libscotch-dev libmetis-dev python-pip python3-pip texlive-font-utils clang-7 clang-format-7 llvm-7 ccache texlive-latex-base texlive-fonts-recommended texlive-latex-recommended gdb wget curl lcov libboost-all-dev libclang-7-dev llvm-7-dev
RUN apt-get remove -y openmpi-bin
RUN update-alternatives --install /usr/bin/clang clang /usr/bin/clang-7 100
RUN update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-7 100
RUN wget -O /usr/bin/doxy-coverage https://raw.githubusercontent.com/alobbs/doxy-coverage/master/doxy-coverage.py
RUN chmod +x /usr/bin/doxy-coverage
RUN groupadd -r flecsi
RUN useradd -r -m -g flecsi -G sudo flecsi
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
USER flecsi
ENV PATH=/home/flecsi/.local/bin:/usr/lib/ccache:${PATH}${PATH:+:}
ENV PYTHONPATH=/usr/local/lib/python2.7/site-packages${PYTHONPATH:+:}${PYTHONPATH}
ENV MPICH=true
WORKDIR /home/flecsi
RUN pip3 install --user codecov coverxygen gcovr Sphinx recommonmark sphinx_rtd_theme breathe