Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tatsuya6502/docker-erlang
Dockerfiles to build Erlang/OTP images
https://github.com/tatsuya6502/docker-erlang
docker erlang
Last synced: 23 days ago
JSON representation
Dockerfiles to build Erlang/OTP images
- Host: GitHub
- URL: https://github.com/tatsuya6502/docker-erlang
- Owner: tatsuya6502
- License: mit
- Created: 2015-08-20T22:19:17.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-04-21T02:59:34.000Z (over 3 years ago)
- Last Synced: 2023-03-11T06:18:41.876Z (over 1 year ago)
- Topics: docker, erlang
- Size: 47.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## docker-erlang - Dockerfiles to build Erlang/OTP images
[![Docker Repository on Quay.io](https://quay.io/repository/tatsuya6502/erlang/status "Docker Repository on Quay.io")](https://quay.io/repository/tatsuya6502/erlang)
This git repository contains Dockerfiles to build kerl-based
multi-release Erlang/OTP Docker image on specific Linux
distribution. For example, the image with tag `centos6-multi-otp`
is built upon the official CentOS 6 image and contains Erlang/OTP
18, 17 and R16.These images will be handy to create an Erlang application release
containing ERTS for a specific Linux distribution.## Quick Start
The Docker images are published to Docker Hub and Quay. Pull one of
those images and run it.```
$ docker pull quay.io/tatsuya6502/erlang:
$ docker run -it --rm quay.io/tatsuya6502/erlang: /bin/bash(Activate a release)
# source /usr/local/erlang/18.3.4_hipe/activate
```For example
```
$ docker pull tatsuya6502/erlang:centos6-multi-otp
$ docker run -it --rm tatsuya6502/erlang:centos6-multi-otp /bin/bash[root@7a0afd51e424 /]# kerl status
Available builds:
There are no builds available
----------
Available installations:
r16b03-1_hipe /usr/local/erlang/r16b03-1_hipe
17.5.6.8_hipe /usr/local/erlang/17.5.6.8_hipe
18.3_hipe /usr/local/erlang/18.3.4_hipe
----------
No Erlang/OTP kerl installation is currently active[root@7a0afd51e424 /]# source /usr/local/erlang/18.3.4_hipe/activate
[root@7a0afd51e424 /]# erl
Erlang/OTP 18 [erts-7.3.1] [source] [64-bit] [smp:2:2] [async-threads:10] [hipe] [kernel-poll:false]Eshell V7.3.1 (abort with ^G)
1> (Ctrl+G)
User switch command
--> q[root@7a0afd51e424 /]# source /usr/local/erlang/17.5.6.8_hipe/activate
[root@7a0afd51e424 /]# erl
Erlang/OTP 17 [erts-6.4.1.5] [source] [64-bit] [async-threads:10] [hipe] [kernel-poll:false]Eshell V6.4.1.5 (abort with ^G)
1>
```### Available Tags
| Tag | Description |
|---------------------|-----------------------------------------------|
| `arch-multi-otp` | Erlang/OTP 18, 17 and R16 on Arch Linux image |
| `centos7-multi-otp` | Erlang/OTP 18, 17 and R16 on CentOS 7 image |
| `centos6-multi-otp` | Erlang/OTP 18, 17 and R16 on CentOS 6 image |Please note that there is no `latest` tag.
### Erlang/OTP Releases
| Releases | Install Location | Config Options |
|---------------------|-----------------------------------|----------------------------------------|
| OTP 18.3.4 (HiPE) | `/usr/local/erlang/18.3.4_hipe` | `--enable-hipe` `--enable-native-libs` |
| OTP 17.5.6.8 (HiPE) | `/usr/local/erlang/17.5.6.8_hipe` | `--enable-hipe` `--enable-native-libs` |
| OTP R16B03-1 (HiPE) | `/usr/local/erlang/r16b03-1_hipe` | `--enable-hipe` `--enable-native-libs` |### Repository URLs
The images are available at Quay.
- **Quay** - https://quay.io/repository/tatsuya6502/erlang