Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clarify that wx widgets only work on debian/ubuntu #106

Closed
steffkes opened this issue Feb 12, 2019 · 2 comments
Closed

clarify that wx widgets only work on debian/ubuntu #106

steffkes opened this issue Feb 12, 2019 · 2 comments

Comments

@steffkes
Copy link

i've got an OOM from one of our application (basically for the first time, ever) which led me to erlang's crashdump viewer - running it complained about could not find wxe_driver.so in $path ...

which i was wondering about because https://github.com/c0b/docker-elixir/wiki/use-observer suggests that "everything is ready to go" and i had absolutely no luck getting it to work.

only after comparing https://github.com/erlang/docker-erlang-otp/blob/master/21/alpine/Dockerfile to https://github.com/erlang/docker-erlang-otp/blob/master/21/Dockerfile i've realized we're running alpine based images which don't have/get the wx libraries -- switching to debian/ubuntu based images worked.

maybe we can/should add a quick note for guys like me that are not expecting this? i mean, in hindsight probably not that surprising that (supposedly small) alpine builds don't contain such debugging/development dependencies .. just not that obvious if you're deep down the rabbit hole of debugging an erlang crashdump for the first time :) wdyt @c0b ?

@c0b
Copy link
Owner

c0b commented Feb 18, 2019

Sorry for that wasn't clear before; I've just added a header banner there;

Note: for image size and many other considerations, the wx widgets dependencies are only built into the developer friendly version: the default series like elixir:1.8 elixir:1.7 which are based on a full-featured debian based envrionment; do not expect observer to work in slim or alpine series.

https://github.com/c0b/docker-elixir/wiki/use-observer

Generally, the observer is more in-use on a developer environment (more probably on your laptop), and alpine images are for-use for production, usually nobody would expect to launch an observer from a production environment; On the other hand, if configured correctly, you may launch the observer from your developer environment and connect to a remote Erlang node in production system, to observe all Erlang processes in production system.

@steffkes
Copy link
Author

yeah, absolutely - as i've said (or at least, tried to) .. it should have been obvious, but for whatever reason it wasn't to me when i was reading the wiki page :o

thanks for the additional banner though, that will definitely help me whenever i'm going to read to page somewhere in the future ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants