<div dir="ltr">"<span style="font-size:12.8px">As an afterthought - it would be *very nice* to have a program which</span><br style="font-size:12.8px"><span style="font-size:12.8px">makes a minimal distributable program for Windows/Mac/Linux."</span><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Joe,</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">It would be nice if Erlang had an official Docker image (e.g. <a href="https://docs.docker.com/docker-for-windows/">https://docs.docker.com/docker-for-windows/</a> ).  Such an image would fulfill exactly your requirement. Here are the official Docker images for other languagesl:</span></div><div><span style="font-size:12.8px"><br></span></div><div><a href="https://hub.docker.com/_/python/">https://hub.docker.com/_/python/</a><br></div><div><a href="https://hub.docker.com/_/golang/">https://hub.docker.com/_/golang/</a><br></div><div><a href="https://hub.docker.com/_/rust/">https://hub.docker.com/_/rust/</a><br></div><div><a href="https://hub.docker.com/_/clojure/">https://hub.docker.com/_/clojure/</a><br></div><div><a href="https://hub.docker.com/_/java/">https://hub.docker.com/_/java/</a><br></div><div><br></div><div>I guess this is the start:</div><div><br></div><div><a href="https://github.com/erlang/docker-erlang">https://github.com/erlang/docker-erlang</a></div><div><br></div><div>Note this work:</div><div><br></div><div><a href="https://store.docker.com/community/images/library/rabbitmq">https://store.docker.com/community/images/library/rabbitmq</a><br></div><div><br></div><div>Stu</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 20, 2017 at 3:22 AM, Joe Armstrong <span dir="ltr"><<a href="mailto:erlang@gmail.com" target="_blank">erlang@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
I want to ship Erlang as a component inside a<br>
larger application to run on Windows<br>
<br>
Assuming the larger application has reserved space<br>
for Erlang at some destination directory $DEST then I need<br>
to copy a subset of the files from a standard<br>
distribution into $DEST.<br>
<br>
On a Mac I have reduced the number of necessary files to 11<br>
(could be 10 if you remove start.script)<br>
<br>
├── COPYRIGHT<br>
├── bin<br>
│   ├── beam.smp<br>
│   ├── erl_child_setup<br>
│   ├── erlexec<br>
│   ├── start.boot<br>
│   └── start.script<br>
├── erl<br>
└── lib<br>
    ├── compiler-7.0.2.ez<br>
    ├── kernel-5.1.ez<br>
    ├── sasl-3.0.1.ez<br>
    └── stdlib-3.1.ez<br>
<br>
I've thrown away all the libraries apart from compiler etc.<br>
<br>
I'm trying (unsuccessfully) to do the same thing on windows - does anybody<br>
know how to make a minimal Erlang for windows? - which files must be<br>
copied and which files must be patched????<br>
<br>
As an afterthought - it would be *very nice* to have a program which<br>
makes a minimal distributable program for Windows/Mac/Linux.<br>
<br>
I was thinking along the lines of running the program twice - in run one<br>
I'd trace all calls to discover which modules were actually called, then<br>
from this information build a minimal distributable program.<br>
<br>
Cheers<br>
<br>
/Joe<br>
______________________________<wbr>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/<wbr>listinfo/erlang-questions</a><br>
</blockquote></div><br></div></div>