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