Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
docker tuto-s4u: Add an empty makefile advising to run cmake before make
authorMartin Quinson <martin.quinson@loria.fr>
Mon, 15 Oct 2018 09:31:50 +0000 (11:31 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Mon, 15 Oct 2018 09:39:00 +0000 (11:39 +0200)
tools/docker/Dockerfile.tuto-s4u

index 7832a80..022b01e 100644 (file)
@@ -2,7 +2,9 @@
 FROM simgrid/stable
 
 # - Clone simgrid-template-s4u, as it is needed by the tutorial
+# - Add an empty makefile advising to run cmake before make, just in case
 RUN apt update && apt install -y pajeng r-base r-cran-ggplot2 r-cran-dplyr cmake g++ git libboost-all-dev&& \
     cd /source && \
     git clone --depth=1 https://framagit.org/simgrid/simgrid-template-s4u.git simgrid-template-s4u.git && \
+    printf "master-workers ping-pong:\n\t@echo \"Please run the following command before make:\";echo \"    cmake .\"; exit 1" > Makefile &&\
     apt autoremove -y && apt clean && apt autoclean
\ No newline at end of file