Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Dockerfiles to build our nice images
[simgrid.git] / tools / docker / Dockerfile.unstable
diff --git a/tools/docker/Dockerfile.unstable b/tools/docker/Dockerfile.unstable
new file mode 100644 (file)
index 0000000..b6f09fd
--- /dev/null
@@ -0,0 +1,15 @@
+# Base image 
+FROM debian:testing
+
+# - Install SimGrid's dependencies
+# - Compile and install SimGrid itself
+RUN apt update && \
+    apt install -y g++ gcc git valgrind default-jdk gfortran libboost-dev libboost-all-dev libboost-coroutine1.62.0 cmake && \
+    git clone --depth=1 https://framagit.org/simgrid/simgrid.git && \
+    cd simgrid && \
+    cmake -DCMAKE_INSTALL_PREFIX=/usr -Denable_documentation=OFF -Denable_java=ON -Denable_smpi=ON -Denable_compile_optimizations=ON . && \
+    make -j4 install && make clean && \
+    apt remove -y default-jdk gfortran libboost-dev libboost-all-dev cmake && \
+    apt autoremove -y && apt autoclean && apt clean
+
+    
\ No newline at end of file