2
0
mirror of https://github.com/processone/docker-ejabberd synced 2024-11-10 13:10:37 +00:00
docker-ejabberd/ejabberd-mix/Dockerfile

17 lines
407 B
Docker
Raw Normal View History

2016-11-30 13:33:07 +00:00
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"]