Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Commit

Permalink
Add erlang repo with apt-add-repository
Browse files Browse the repository at this point in the history
  • Loading branch information
vorce committed Aug 22, 2018
1 parent 6e6adef commit a452e41
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions Dockerfile
Expand Up @@ -22,6 +22,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
echo 'LANGUAGE="en_US:en"' >> /etc/default/locale && \
locale-gen en_US.UTF-8 && \
update-locale en_US.UTF-8 && \
apt-key adv --fetch-keys https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc && \
apt-key adv --fetch-keys https://packagecloud.io/github/git-lfs/gpgkey && \
apt-add-repository -y -s 'deb https://packagecloud.io/github/git-lfs/ubuntu/ trusty main' && \
add-apt-repository -y ppa:ondrej/php && \
Expand All @@ -30,6 +31,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
add-apt-repository -y ppa:rwky/graphicsmagick && \
add-apt-repository -y ppa:deadsnakes/ppa && \
add-apt-repository -y ppa:kelleyk/emacs && \
apt-add-repository -y 'deb https://packages.erlang-solutions.com/ubuntu trusty contrib' && \
apt-get -y update && \
apt-get install -y --no-install-recommends \
advancecomp \
Expand All @@ -42,6 +44,8 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
cmake \
curl \
emacs25-nox \
esl-erlang \
elixir \
expect \
fontconfig \
fontconfig-config \
Expand Down Expand Up @@ -394,19 +398,6 @@ ENV GIMME_GO_VERSION "1.10"
ENV GIMME_ENV_PREFIX "/opt/buildhome/.gimme/env"
RUN gimme

################################################################################
#
# Erlang+Elixir
#
################################################################################
USER root
# Erlang solutions repository
RUN wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && \
dpkg -i erlang-solutions_1.0_all.deb
RUN apt-get update
RUN apt-get install -y esl-erlang elixir


# Cleanup
USER root

Expand Down

0 comments on commit a452e41

Please sign in to comment.