$ erl -noshell -eval 'erlang:display(erlang:system_info(system_version))' -eval 'init:stop()'
"Erlang/OTP 20 [erts-9.1.1] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]\n"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM bitnami/minideb:stretch | |
| MAINTAINER Eric Avdey <[email protected]> | |
| ENV ESL_REPO=http://packages.erlang-solutions.com/debian \ | |
| ESL_DIST=esl-erlang \ | |
| ESL_VER=1:19.3.6 | |
| WORKDIR /tmp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Erln8] | |
| color=true | |
| banner=false | |
| default_config=default | |
| system_default=r20 | |
| [Repos] | |
| default=https://github.com/erlang/otp.git | |
| [Erlangs] |
Start dev cluster:
$ ./dev/run --admin eiri:eiri
[ * ] Setup environment ... ok
[ * ] Ensure CouchDB is built ... ok
[ * ] Prepare configuration files ... ok
[ * ] Start node node1 ... ok
[ * ] Start node node2 ... ok
[ * ] Start node node3 ... ok
[ * ] Check node at http://127.0.0.1:15984/ ... ok
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - name: activate erlang 17.5 on login | |
| lineinfile: | |
| dest: /home/vagrant/.bashrc | |
| line: "{{item.line}}" | |
| insertafter: "{{item.insertafter}}" | |
| state: present | |
| with_items: | |
| - insertafter: "#alias l='ls -CF'" | |
| line: '# activate erlang 17.5' | |
| - insertafter: '# activate erlang 17.5' |