Commit 20e41464 authored by Mr c0b's avatar Mr c0b Committed by Derek

version bump to Erlang/OTP release 18.1.4 🌞

released a few hours ago:
http://erlang.org/pipermail/erlang-questions/2015-November/086722.html
parent 411b2c90
......@@ -6,6 +6,7 @@ sudo: 9000
env:
- VERSION=18 VARIANT=
- VERSION=18 VARIANT=slim
- VERSION=18 VARIANT=onbuild
- VERSION=17 VARIANT=
- VERSION=17 VARIANT=slim
- VERSION=R16 VARIANT=
......
FROM buildpack-deps:jessie
ENV OTP_VERSION=18.1.3 LANG=C.UTF-8
ENV OTP_VERSION=18.1.4 LANG=C.UTF-8
# We'll install the build dependencies for erlang-odbc along with the erlang
# build process:
RUN set -xe \
&& OTP_DOWNLOAD_SHA1=981e6c03c0a310483e6c14edb7dd2acaa842e2f8 \
&& OTP_DOWNLOAD_SHA1=f219654d7c0f67a5017818bdf46943bced307bbd \
&& buildDeps='unixodbc-dev' \
&& apt-get update \
&& apt-get install -y --no-install-recommends $buildDeps \
......@@ -39,3 +39,11 @@ RUN set -xe \
&& ./bootstrap \
&& install -v ./rebar /usr/local/bin/ \
&& rm -rf /usr/src/rebar-src
ENV REBAR3_VERSION=3.0.0-beta.4
RUN set -xe \
&& git clone --depth 50 --branch $REBAR3_VERSION --single-branch git://github.com/rebar/rebar3.git /usr/src/rebar3-src \
&& cd /usr/src/rebar3-src \
&& HOME=$PWD ./bootstrap \
&& install -v ./rebar3 /usr/local/bin/
FROM erlang:18
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
ONBUILD COPY rebar.config /usr/src/app/
ONBUILD RUN rebar3 update
ONBUILD COPY . /usr/src/app
ONBUILD RUN rebar3 release
CMD [ "rebar3", "shell" ]
FROM debian:jessie
ENV OTP_VERSION=18.1.3 LANG=C.UTF-8
ENV OTP_VERSION=18.1.4 LANG=C.UTF-8
# We'll install the build dependencies, and purge them on the last step to make
# sure our final image contains only what we've just built:
RUN set -xe \
&& OTP_DOWNLOAD_SHA1=981e6c03c0a310483e6c14edb7dd2acaa842e2f8 \
&& OTP_DOWNLOAD_SHA1=f219654d7c0f67a5017818bdf46943bced307bbd \
&& buildDeps=' \
autoconf \
bison \
......
......@@ -17,10 +17,10 @@ The goal is to provide images for a few last erlang releases (currently 18 / 17)
```console
$ docker images |grep ^erlang
erlang 18.1 05a80e15fadc 2 hours ago 742.9 MB
erlang 18.1-slim fc08749128b9 2 hours ago 283.6 MB
erlang 17.5 7a34c8030ca7 2 hours ago 739.8 MB
erlang 17.5-slim e4003d4f37e6 2 hours ago 280.7 MB
erlang 18.1-slim 0d2ef515fa92 21 minutes ago 283.6 MB
erlang 18.1 57cd51bedc4b 35 minutes ago 742.9 MB
erlang 17.5 7a34c8030ca7 2 hours ago 739.8 MB
erlang 17.5-slim e4003d4f37e6 2 hours ago 280.7 MB
```
### Running
......@@ -54,6 +54,12 @@ cosTransactions-1.3 hipe-3.13 percept-0.8.11 webtool-0.9
crypto-3.6.1 ic-4.4 public_key-1.0.1 wx-1.5
debugger-4.1.1 inets-6.0.2 reltool-0.7 xmerl-1.3.8
dialyzer-2.8.1 kernel-4.1 runtime_tools-1.9.1
```
The official release https://github.com/erlang/otp/tree/maint/lib has 52 libs, while here by default it provided 51 of them, except jinterface, because to build that one would pull all jdk dependencies and make this image too fat, it's just avoided here; if you really need that to write code in java and interface into erlang code, you may create an issue for this project.
```
root@88f845c8c7af:/# ls /usr/local/lib/erlang/lib/ |wc -l
51
```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment