Update Dockerfile

pull/2/head
Mickael Remond 8 years ago
parent 3ba4cbb50f
commit 2e60fba3ea
No known key found for this signature in database
GPG Key ID: E6F6045D79965AA3

@ -1,10 +1,17 @@
FROM alpine:3.4
MAINTAINER ProcessOne <contact@process-one.net>
# Install elixir from apk
RUN apk --update add build-base git zlib-dev openssl-dev yaml-dev expat-dev \
RUN echo \
# Replacing default repositories with edge ones as we need Elixir 1.3.x
# Previous version of Elixir do not handle our deps properly
&& echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" > /etc/apk/repositories \
&& echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
&& echo "http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories && \
# Install elixir from apk
apk add --no-cache build-base git zlib-dev openssl-dev yaml-dev expat-dev \
elixir erlang-crypto erlang-syntax-tools erlang-parsetools \
erlang-eunit erlang-mnesia && rm -rf /var/cache/apk/*
erlang-eunit erlang-mnesia
# Install Hex+Rebar
RUN mix local.hex --force && \

Loading…
Cancel
Save