erleans / presence-sample

Demo project
https://spacetimeinsight.com/installing-monitoring-erlang-releases-kubernetes-helm-prometheus/
Apache License 2.0
9 stars 1 forks source link

Docker erlang-alpine image #1

Closed joaohf closed 7 years ago

joaohf commented 7 years ago

Hi,

Where did you get the ' tsloughter/erlang-alpine:20.0.1' ? I would like to see the Dockerfile. I think that I have the same issue as https://github.com/c0b/docker-erlang-otp/issues/57

https://github.com/SpaceTime-IoT/presence-sample/blob/master/Dockerfile#L1

tsloughter commented 7 years ago

Yes and no :). Here is the dockerfile https://github.com/tsloughter/docker-erlang-otp/blob/rebar3-gcloud/20/alpine/Dockerfile

I thought the official Alpine image would work now, it no longer leaves out most of the Erlang libs. So I was just now trying to update the dockerfile in this repo to use it instead but it is failing because it can't find erl interface... cannot find -lei, so may be some more changed needed in the official image, at least for projects with C code.

joaohf commented 7 years ago

Ok, thank you. I got the same issue about -lei using the erlang official Alpine image.

tsloughter commented 7 years ago

Ah, please give a +1 to my patch to fix that then :) https://github.com/c0b/docker-erlang-otp/pull/78