4 deb [check-valid-until=no, trusted=yes] http://snapshot.debian.org/archive/debian/20210707T150931Z/ buster main contrib non-free \n\
5 deb-src [check-valid-until=no, trusted=yes] http://snapshot.debian.org/archive/debian/20210707T150931Z/ buster main contrib non-free \n\
6 deb [check-valid-until=no, trusted=yes] http://snapshot.debian.org/archive/debian-security/20210707T150931Z/ buster/updates main contrib non-free \n\
7 deb-src [check-valid-until=no, trusted=yes] http://snapshot.debian.org/archive/debian-security/20210707T150931Z/ buster/updates main contrib non-free" > /etc/apt/sources.list
9 RUN apt-get -o Acquire::Check-Valid-Until=false update;
12 RUN apt-get install -y \
18 RUN apt-get install -y \
26 # simgrid dependencies
38 RUN apt-get install -y \
42 && rm -rf /var/lib/apt/lists/*
44 # install ox-rst to convert org to rst
45 RUN mkdir /source && cd /source && \
46 git clone https://github.com/msnoigrs/ox-rst.git ox-rst.git
48 # compile install simgrid
49 RUN cd /source && git clone --depth=1 https://framagit.org/simgrid/simgrid.git simgrid.git && \
51 cmake -DCMAKE_INSTALL_PREFIX=/usr/ -Denable_documentation=OFF -Denable_smpi=ON -Denable_compile_optimizations=ON . && \
55 RUN cd /source/simgrid.git/docs/source/tuto_disk && \
60 RUN cd /source/simgrid.git/docs/source/tuto_disk && \
61 emacs -l init.el -batch \
62 --eval "(require 'package)" \
63 --eval "(package-initialize)" \
64 --eval "(setq enable-local-eval t)" \
65 --eval "(setq enable-local-variables t)" \
66 --eval "(setq ess-ask-for-ess-directory nil)" \
67 --eval "(setq org-babel-execute-src-block t)" \
68 --eval "(setq org-export-babel-evaluate t)" \
69 analysis.org --funcall org-rst-export-to-rst
71 WORKDIR /source/simgrid.git/
72 ENTRYPOINT [ "/bin/bash"]