-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfedora
16 lines (15 loc) · 1.27 KB
/
fedora
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM fedora:30
RUN dnf install -y sudo make cmake automake autoconf libtool git vim-minimal gcc-c++ gcc-gfortran flex patch doxygen graphviz pandoc python2 openmpi-devel redhat-rpm-config hdf5-openmpi-devel exodusii-devel cereal-devel lapack-devel scotch-devel metis-devel environment-modules python-pip python3-pip clang llvm compiler-rt ccache texlive-epstopdf-bin ghostscript-core texlive-latex-bin-bin texlive-collection-fontsrecommended texlive-fancyhdr findutils texlive-booktabs gdb wget curl lcov boost-devel hwloc-devel hpx-openmpi-devel clang-devel llvm-devel
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 sed -i '1s/python/&2/' /usr/bin/doxy-coverage
RUN groupadd -r flecsi
RUN useradd -r -m -g flecsi -G wheel flecsi
RUN echo '%wheel ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
USER flecsi
ENV PATH=/home/flecsi/.local/bin:/usr/lib64/ccache:/usr/lib64/openmpi/bin/${PATH:+:}${PATH}
ENV LD_LIBRARY_PATH=/usr/lib64/openmpi/lib/${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}
ENV PYTHONPATH=/usr/local/lib/python2.7/site-packages${PYTHONPATH:+:}${PYTHONPATH}
ENV OPENMPI=true
WORKDIR /home/flecsi
RUN pip3 install --user codecov coverxygen gcovr Sphinx recommonmark sphinx_rtd_theme breathe