mirror of
https://github.com/processone/docker-ejabberd
synced 2024-11-10 13:10:37 +00:00
17 lines
407 B
Docker
17 lines
407 B
Docker
|
FROM alpine:3.4
|
||
|
MAINTAINER ProcessOne <contact@process-one.net>
|
||
|
|
||
|
# Install elixir from apk
|
||
|
RUN apk --update add build-base zlib-dev openssl-dev yaml-dev expat-dev \
|
||
|
elixir erlang-crypto erlang-syntax-tools erlang-eunit erlang-mnesia && rm -rf /var/cache/apk/*
|
||
|
|
||
|
# Install Hex+Rebar
|
||
|
RUN mix local.hex --force && \
|
||
|
mix local.rebar --force
|
||
|
|
||
|
EXPOSE 5222 5280
|
||
|
|
||
|
ENTRYPOINT ["/usr/bin/mix"]
|
||
|
|
||
|
CMD ["compile"]
|