forked from espressopp/buildenv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathubuntu
18 lines (16 loc) · 1.04 KB
/
ubuntu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM ubuntu:latest
RUN apt-get -q update -y
RUN apt-get -qq install -y build-essential openmpi-bin libfftw3-dev libboost-all-dev git python-mpi4py cmake wget python-numpy ipython clang llvm ccache python-pip doxygen sphinx-common python-matplotlib graphviz texlive-latex-base texlive-latex-extra texlive-latex-recommended ghostscript libgromacs-dev
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 apt-get install -y openjdk-8-jdk unzip
RUN wget https://sonarsource.bintray.com/Distribution/sonar-scanner-cli/sonar-scanner-2.8.zip https://sonarqube.com/static/cpp/build-wrapper-linux-x86.zip
RUN unzip sonar-scanner-2.8.zip -d /sonarqube/
RUN unzip build-wrapper-linux-x86.zip -d /sonarqube/
ENV PATH=${PATH}${PATH:+:}/sonarqube/build-wrapper-linux-x86:/sonarqube/sonar-scanner-2.8/bin
RUN sonar-scanner -h
RUN useradd -m espressopp
USER espressopp
ENV PATH=/usr/lib/ccache:${PATH}${PATH:+:}
WORKDIR /home/espressopp
RUN pip install --user codecov coverxygen