Skip to content

Instantly share code, notes, and snippets.

@benwilson512
Created November 6, 2015 18:14
Show Gist options
  • Save benwilson512/42405453e15f1e0be971 to your computer and use it in GitHub Desktop.
Save benwilson512/42405453e15f1e0be971 to your computer and use it in GitHub Desktop.
FROM fedora:22
ENV LANG="en_US.UTF-8" LANGUAGE="en_US:en" LC_ALL="en_US.UTF-8"
RUN dnf groupinstall -y "Development Tools" "Development Libraries" && dnf install -y wget git tar bzip2 && dnf clean all
RUN \
wget http://www.erlang.org/download/otp_src_18.1.tar.gz && \
tar -zxf otp_src_18.1.tar.gz && \
cd otp_src_18.1 && \
export ERL_TOP=`pwd` && \
./configure --without-wx --with-ssl && \
export MAKEFLAGS=-j8 && \
make && \
make install
########## ELIXIR ##########
# Build Elixir
RUN git clone https://github.com/elixir-lang/elixir.git && \
cd ./elixir && \
make clean install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment