Skip to content

Instantly share code, notes, and snippets.

@Koronen
Created April 4, 2015 16:15
Show Gist options
  • Save Koronen/edabc818801abe7d806a to your computer and use it in GitHub Desktop.
Save Koronen/edabc818801abe7d806a to your computer and use it in GitHub Desktop.
WIP: Elixir on Debian Jessie
FROM debian:jessie
MAINTAINER Victor Koronen <koronen@kth.se>
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get install -y wget git build-essential
RUN wget http://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
RUN dpkg -i erlang-solutions_1.0_all.deb
RUN apt-get update
RUN apt-get install -y erlang-common-test erlang-tools erlang-parsetools erlang-dev
RUN git clone https://github.com/elixir-lang/elixir.git
WORKDIR elixir
RUN make clean
RUN apt-get install -y erlang-eunit
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8
RUN make
RUN make test
RUN make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment