Use erlang without X11 dependencies

X11-dependent parts of erlang are in no way needed for rabbitmq, and
getting rid of them reduces installed size of erlang/rabbit from 173 MB
to just 46 MB.
This commit is contained in:
Alexey Lebedeff 2016-03-31 18:45:17 +03:00
parent e9e416f996
commit 3b38b0b2bc
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ ENV RABBITMQ_VERSION 3.6.1
ENV RABBITMQ_DEBIAN_VERSION 3.6.1-1
RUN apt-get update && apt-get install -y --no-install-recommends \
erlang erlang-mnesia erlang-public-key erlang-crypto erlang-ssl erlang-asn1 erlang-inets erlang-os-mon erlang-xmerl erlang-eldap \
erlang-nox erlang-mnesia erlang-public-key erlang-crypto erlang-ssl erlang-asn1 erlang-inets erlang-os-mon erlang-xmerl erlang-eldap \
rabbitmq-server=$RABBITMQ_DEBIAN_VERSION \
&& rm -rf /var/lib/apt/lists/*