Skip to content

Up to date Alpine image with the latest Erlang version for staged builds.

License

Notifications You must be signed in to change notification settings

Laymer/alpine-erlang-builder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker + Alpine + Erlang = Love

This Dockerfile provides a good base build image to use in multistage builds for Erlang apps. It comes with the latest version of Alpine, Erlang and Rebar. It is intended for use in creating release images with or for your application and allows you to avoid cross-compiling releases. The exception of course is if your app has NIFs which require a native compilation toolchain, but that is left as an exercise let to the user.

No effort has been made to make this image suitable to run in unprivileged environments. The repository owner is not responsible for any loses that result from improper usage or security practices, as it is expected that the user of this image will implement proper security practices themselves.

Software/Language Versions

Alpine 3.8
OTP/Erlang 21.2.3
Rebar 3.8.0

Usage

To boot straight to a erl prompt in the image:

$ docker run --rm -i -t beardedeagle/alpine-erlang-builder erl
Erlang/OTP 21 [erts-10.2.2] [source] [64-bit] [smp:6:6] [ds:6:6:10] [async-threads:1] [hipe]

Eshell V10.2.2  (abort with ^G)
1>

About

Up to date Alpine image with the latest Erlang version for staged builds.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 78.6%
  • Makefile 21.4%