Skip to content

Instantly share code, notes, and snippets.

@juniorz
Last active December 30, 2015 19:09
Show Gist options
  • Save juniorz/7872329 to your computer and use it in GitHub Desktop.
Save juniorz/7872329 to your computer and use it in GitHub Desktop.
Erlang
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