2
0
mirror of https://github.com/processone/docker-ejabberd synced 2024-11-05 00:00:49 +00:00
docker-ejabberd/mix/Dockerfile
Mickael Remond 3212f5f6fe
Update Dockerfile
Minimize whitespace changes
2020-02-26 15:03:16 +01:00

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"]