From a91882686bdb3d09752b3507e55c3298fe312852 Mon Sep 17 00:00:00 2001 From: Kofi Gumbs Date: Thu, 12 Apr 2018 11:05:17 -0500 Subject: [PATCH] Install erlang from erlang-solutions.com --- debian-bootstrap.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/debian-bootstrap.sh b/debian-bootstrap.sh index 26e1e62d..9d723b47 100755 --- a/debian-bootstrap.sh +++ b/debian-bootstrap.sh @@ -33,7 +33,6 @@ apt-get install -y \ build-essential \ cmake \ curl \ - erlang-base \ freeglut3-dev \ freetds-dev \ fsharp \ @@ -225,6 +224,15 @@ cd /tmp \ echo "/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/" > /etc/ld.so.conf.d/openjdk.conf \ && ldconfig +# Install erlang/otp platform and its dependencies +ERLANG_VERSION="20.2.2" +ERLANG_DEB_FILE="esl-erlang_${ERLANG_VERSION}-1~debian~jessie_amd64.deb" +pushd /tmp \ + && wget https://packages.erlang-solutions.com/erlang/esl-erlang/FLAVOUR_1_general/${ERLANG_DEB_FILE} \ + && (dpkg -i ${ERLANG_DEB_FILE}; apt-get install -yf) \ + && rm ${ERLANG_DEB_FILE} \ + && popd + # Install version 3 of the protobuf compiler. (The `protobuf-compiler` package only # supports version 2.) curl -OL https://github.com/google/protobuf/releases/download/v3.3.0/protoc-3.3.0-linux-x86_64.zip \