Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
docker: further reduce the images' sizes
[simgrid.git] / tools / docker / Dockerfile.unstable
1 # Base image 
2 FROM debian:testing
3
4 # - Install SimGrid's dependencies
5 # - Compile and install SimGrid itself
6 RUN apt update && \
7     apt install -y g++ gcc git valgrind default-jdk gfortran libboost-dev libboost-all-dev cmake libboost-coroutine1.62.0 && \
8     mkdir /src/ && cd /src && git clone --depth=1 https://framagit.org/simgrid/simgrid.git simgrid.git && \
9     cd simgrid.git && \
10     cmake -DCMAKE_INSTALL_PREFIX=/usr/ -Denable_documentation=OFF -Denable_java=ON -Denable_smpi=ON -Denable_compile_optimizations=ON . && \
11     make -j4 install && \
12     git reset --hard master && git clean -dfx && \
13     apt remove -y  g++ gcc git valgrind default-jdk gfortran libboost-dev libboost-all-dev cmake gdb && \
14     apt autoremove -y && apt autoclean && apt clean