Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Dockerfiles to build our nice images
[simgrid.git] / tools / docker / Dockerfile.stable
1 # Base image 
2 FROM debian:testing
3
4 ARG DLURL
5
6 # - Install SimGrid's dependencies
7 # - Compile and install SimGrid itself
8 RUN echo "DOWNLOAD_URL: ${DLURL}" && \
9     apt update && apt install -y wget && \
10     wget https://framagit.org/${DLURL} && tar xf SimGrid-* && \
11     cd SimGrid-* && \
12     apt install -y gcc g++ default-jdk gfortran libboost-dev libboost-all-dev cmake valgrind libboost-coroutine1.62.0 && \
13     cmake -DCMAKE_INSTALL_PREFIX=/usr -Denable_documentation=OFF -Denable_java=ON -Denable_smpi=ON -Denable_compile_optimizations=ON . && \
14     make -j4 install && make clean && \
15     apt remove -y  gcc g++ default-jdk gfortran libboost-dev libboost-all-dev cmake wget && \
16     apt autoremove -y && apt autoclean && apt clean
17
18