Skip to content

Commit

Permalink
fix(scripts): use updated erl dep download url (#97)
Browse files Browse the repository at this point in the history
* fix(scripts): use updated erl dep download url

* fix(scripts): add yum clean for npm
  • Loading branch information
tbash authored Jul 4, 2019
1 parent b84c315 commit c334bc1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/build
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,15 @@ function do_install(){
yum install -y -q unixODBC-devel || exit 1

echo "==> Installing Erlang ${ERL_VERSION}.."
wget --no-verbose -P /tmp/ "https://packages.erlang-solutions.com/erlang/esl-erlang/FLAVOUR_1_general/esl-erlang_${ERL_VERSION}-1~centos~7_amd64.rpm"
wget --no-verbose -P /tmp/ "https://packages.erlang-solutions.com/erlang/rpm/centos/7/x86_64/esl-erlang_${ERL_VERSION}-1~centos~7_amd64.rpm"
rpm -Uvh "/tmp/esl-erlang_${ERL_VERSION}-1~centos~7_amd64.rpm"

echo "==> Installing Elixir ${ELIXIR_VERSION}"
wget --no-verbose -P /tmp/ "https://github.com/elixir-lang/elixir/releases/download/v${ELIXIR_VERSION}/Precompiled.zip"
unzip /tmp/Precompiled.zip -d /usr/local

echo "==> Installing git, node, npm"
yum clean all
curl -sL https://rpm.nodesource.com/setup_10.x | bash -
yum install -y git nodejs --enablerepo=epel
}
Expand Down

0 comments on commit c334bc1

Please sign in to comment.