Skip to content

use 20 as example #54

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 26, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@ The goal is to provide images for a few last erlang releases (currently 20 / 19
here is providing the latest Erlang 20 image; you may pull from official-images or build it locally:

```console
$ docker build -t erlang:20.0-rc1 ./20
$ docker build -t erlang:20.0 ./20
[...]
➸ docker run -it --rm erlang:20.0-rc1
Erlang/OTP 20 [RELEASE CANDIDATE 1] [erts-9.0] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:10] [hipe] [kernel-poll:false]
➸ docker run -it --rm erlang:20.0
Erlang/OTP 20 [erts-9.0] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V9.0 (abort with ^G)
1> erlang:system_info(otp_release).
"20"
2> os:getenv().
["PWD=/","REBAR3_VERSION=3.3.6",
["PWD=/","REBAR3_VERSION=3.4.1",
"ROOTDIR=/usr/local/lib/erlang","LANG=C.UTF-8",
"PATH=/usr/local/lib/erlang/erts-9.0/bin:/usr/local/lib/erlang/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"REBAR_VERSION=2.6.4","TERM=xterm",
"BINDIR=/usr/local/lib/erlang/erts-9.0/bin","PROGNAME=erl",
"EMU=beam","OTP_VERSION=20.0-rc1","HOME=/root",
"EMU=beam","OTP_VERSION=20.0","HOME=/root",
"HOSTNAME=9b1e7f4d7206"]
3> 'hello_юникод_世界'. % Erlang20 now support unicode in atom
'hello_юникод_世界'
Expand Down Expand Up @@ -95,4 +95,4 @@ root@11ecefc83eb5:/# ls /usr/local/lib/erlang/lib/ | wc -l
45
```

The official release 20 https://github.com/erlang/otp/tree/maint-20/lib has 45 libs, while here by default it provided 44 of them (plus erts-9.0 from erlang itself), except jinterface, because to build that one would pull all jdk dependencies and make the image too fat; if you really need that to write code in java and interface into erlang code, you may create an issue here to ask for it.
The official release 20 https://github.com/erlang/otp/tree/maint-20/lib has 45 libs, while here by default it provided 44 of them (plus erts-9.0 from erlang itself), except jinterface, because to build that one would pull all jdk dependencies and make the image too fat; if you really need that to write code in java and interface into erlang code, you may create an issue here to ask for it.