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
37 && rm -rf /var/lib/apt/lists/*
39 # install ox-rst to convert org to rst
40 RUN mkdir /source && cd /source && \
41 git clone https://github.com/msnoigrs/ox-rst.git ox-rst.git
43 # compile install simgrid
44 RUN cd /source && git clone --depth=1 https://framagit.org/simgrid/simgrid.git simgrid.git && \
46 cmake -DCMAKE_INSTALL_PREFIX=/usr/ -Denable_documentation=OFF -Denable_smpi=ON -Denable_compile_optimizations=ON . && \
50 RUN cd /source/simgrid.git/docs/source/tuto_disk && \
55 RUN cd /source/simgrid.git/docs/source/tuto_disk && \
56 emacs -l init.el -batch \
57 --eval "(require 'package)" \
58 --eval "(package-initialize)" \
59 --eval "(setq enable-local-eval t)" \
60 --eval "(setq enable-local-variables t)" \
61 --eval "(setq ess-ask-for-ess-directory nil)" \
62 --eval "(setq org-babel-execute-src-block t)" \
63 --eval "(setq org-export-babel-evaluate t)" \
64 analysis.org --funcall org-rst-export-to-rst
66 WORKDIR /source/simgrid.git/
67 ENTRYPOINT [ "/bin/bash"]