<div dir="auto">Hi Fabrizio<div dir="auto"><br></div><div dir="auto">I discovered your project a few months ago and it looks useful.</div><div dir="auto"><br></div><div dir="auto">Your Docker image is almost 2GB in size.</div><div dir="auto">It should be possible to reduce the size significantly:</div><div dir="auto"><br></div><div dir="auto">* Don't install libboost-all-dev: ndn-cxx does not actually need everything it pulls in, but only a small subset, see <a href="https://github.com/yoursunny/NFD-nightly/blob/112de906c871d79e34a0bbac151436002ec63233/compile.sh#L86">https://github.com/yoursunny/NFD-nightly/blob/112de906c871d79e34a0bbac151436002ec63233/compile.sh#L86</a></div><div dir="auto">* Install either Python 2 and Python 3. Publish Python 2 and Python 3 variants as different tags.</div><div dir="auto">* Use fewer layers. WORKDIR layer can be replaced with a simple cd command.</div><div dir="auto">* Download GitHub repository as tarball instead of cloning, so that git history does not take up space.</div><div dir="auto"><br></div><div dir="auto">Yours, Junxiao</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 1, 2021, 05:00 Fabrizio Margotta via ndnSIM <<a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">External Email<br>
<br>
Hello,<br>
<br>
I would like to share with you my unofficial Docker implementation of <br>
ndnSIM!<br>
<br>
The image can be found at <a href="https://hub.docker.com/r/emrevoid/ndnsim" rel="noreferrer noreferrer" target="_blank">https://hub.docker.com/r/emrevoid/ndnsim</a><br>
<br>
Any contribution is welcome at <a href="https://github.com/fam4r/docker-ndnsim" rel="noreferrer noreferrer" target="_blank">https://github.com/fam4r/docker-ndnsim</a><br>
<br>
Motivation: speed up your NDN simulations development without worrying <br>
about the installation of ndnSIM!<br>
<br>
I personally used this project for my bachelor degree thesis and it <br>
worked like a charm!<br>
<br>
Features:<br>
<br>
- providing both "optimized" and "debug" compiled ndnSIM (v2.8+ only)<br>
- Python 2 for old simulations support (v2.8+ only)<br>
- pipenv installed for your custom Python (2 & 3) dependencies (v2.8+ only)<br>
- R & renv installed for your custom R dependencies (v2.8+ only)<br>
- docker-compose with custom volume support for your simulations<br>
- visualizer dependencies installed<br>
<br>
Next features:<br>
<br>
- MPI support<br>
<br>
Feel free to contribute with issues/PRs!<br>
<br>
Fabrizio<br>
<br>
_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank" rel="noreferrer">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
<br>
</blockquote></div>