Thanks NobbZ. Your snippet seems to be the right pice.
Finally building Erlang happens nowadays in an acceptable amount of time (10 minutes).
Former I needed to wait an hour - never found out why.
But I ran into another trouble.
Building on my Alpine (musl) a wrong OpenSSL path get’s linked in my build crypto lib (lib/crypto/musl_xxx.so).
I don’t know yet how to patch this…
My question to all Erlang maintainers or BEAM team members is still open.
Should we really include all docs (HTML, PDF) in the Erlang builds?
In my oppinion the chunks could be enough!?
I could fill a PR if anybody is in the same oppinion.
(finally as building happens fast enough