Last active
December 30, 2015 19:09
-
-
Save juniorz/7872329 to your computer and use it in GitHub Desktop.
Erlang
This file contains hidden or 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 garage/base | |
MAINTAINER Reinaldo Junior <[email protected]> | |
RUN apt-get update && apt-get upgrade -y | |
## Installs Erlang from Erlang Solutions | |
RUN /var/garage/install curl &&\ | |
curl -q http://packages.erlang-solutions.com/debian/erlang_solutions.asc | apt-key add - &&\ | |
echo "deb http://packages.erlang-solutions.com/debian $(/var/garage/base-release) contrib" > /etc/apt/sources.list.d/erlang-solutions.list &&\ | |
apt-get update &&\ | |
/var/garage/install erlang | |
# Clean up APT when done. | |
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | |
# /usr/bin/escript | |
# /usr/bin/erl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment