Created
July 8, 2015 11:47
-
-
Save orotemo/4acbc9f3f0a089d411ad to your computer and use it in GitHub Desktop.
docker to build erlang releases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:trusty | |
RUN apt-get update && apt-get -y upgrade && apt-get -y install wget && apt-get -y install git | |
RUN cd /tmp; wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && \ | |
dpkg -i erlang-solutions_1.0_all.deb | |
RUN apt-get update && apt-get -y install erlang erlang-base-hipe build-essential | |
RUN git clone https://github.com/rebar/rebar3 && cd rebar3 && ./bootstrap && \ | |
cp rebar3 /usr/bin | |
WORKDIR /code | |
CMD rebar3 update && rebar3 as prod tar relup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment