mirror of
https://github.com/processone/docker-ejabberd
synced 2024-11-05 00:00:49 +00:00
3212f5f6fe
Minimize whitespace changes
20 lines
721 B
Docker
20 lines
721 B
Docker
FROM alpine:3.11
|
|
LABEL maintainer="ProcessOne <contact@process-one.net>" \
|
|
product="Ejabberd mix development environment"
|
|
|
|
# Install required dependencies
|
|
RUN apk upgrade --update musl \
|
|
&& apk add build-base git zlib-dev openssl-dev yaml-dev expat-dev sqlite-dev \
|
|
gd-dev jpeg-dev libpng-dev libwebp-dev autoconf automake bash \
|
|
elixir erlang-crypto erlang-eunit erlang-mnesia erlang-erts erlang-hipe \
|
|
erlang-tools erlang-os-mon erlang-syntax-tools erlang-parsetools \
|
|
erlang-runtime-tools erlang-reltool erlang-odbc file curl \
|
|
&& rm -rf /var/cache/apk/*
|
|
|
|
# Setup runtime environment
|
|
RUN mix local.hex --force \
|
|
&& mix local.rebar --force
|
|
|
|
ENTRYPOINT ["/usr/bin/mix"]
|
|
CMD ["compile"]
|