Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/beardedeagle/alpine-elixir-builder
Up to date Alpine image with the latest Elixir version for staged builds.
https://github.com/beardedeagle/alpine-elixir-builder
alpine docker elixir erlang git hex rebar3
Last synced: 4 months ago
JSON representation
Up to date Alpine image with the latest Elixir version for staged builds.
- Host: GitHub
- URL: https://github.com/beardedeagle/alpine-elixir-builder
- Owner: beardedeagle
- License: mit
- Created: 2018-08-20T14:26:36.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-02-03T04:07:20.000Z (about 4 years ago)
- Last Synced: 2024-10-13T09:57:31.318Z (4 months ago)
- Topics: alpine, docker, elixir, erlang, git, hex, rebar3
- Language: Dockerfile
- Homepage:
- Size: 49.8 KB
- Stars: 37
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker + Alpine + Elixir = Love
This Dockerfile provides a good base build image to use in multistage builds for Elixir apps. It comes with the latest version of Alpine, Erlang, Elixir, Rebar and Hex. 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 an exercise left 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 losses 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
```shell
Alpine 3.13.1
OTP/Erlang 23.2.3
Elixir 1.11.3
Rebar 3.14.3
Hex 0.21.1
Git 2.30.0
```## Usage
To boot straight to a iex prompt in the image:
```shell
$ docker run --rm -i -t beardedeagle/alpine-elixir-builder iex
Erlang/OTP 23 [erts-11.1.7] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1]Interactive Elixir (1.11.3) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)>
```