A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
docker smpi tuto: we need libboost-all-dev for replay.cpp
[simgrid.git]
/
tools
/
docker
/
Dockerfile.tuto-s4u
diff --git
a/tools/docker/Dockerfile.tuto-s4u
b/tools/docker/Dockerfile.tuto-s4u
index
777897c
..
022b01e
100644
(file)
--- a/
tools/docker/Dockerfile.tuto-s4u
+++ b/
tools/docker/Dockerfile.tuto-s4u
@@
-1,8
+1,10
@@
# Base image
# Base image
-FROM simgrid/
un
stable
+FROM simgrid/stable
# - Clone simgrid-template-s4u, as it is needed by the tutorial
# - Clone simgrid-template-s4u, as it is needed by the tutorial
-RUN apt install -y pajeng r-base r-cran-ggplot2 r-cran-dplyr cmake g++ git && \
- cd /src && \
+# - 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 && \
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
apt autoremove -y && apt clean && apt autoclean
\ No newline at end of file