Skip to content

Commit

Permalink
Upgrade Erlang and Elixir
Browse files Browse the repository at this point in the history
  • Loading branch information
supercodepoet committed Jan 18, 2018
1 parent 6a234e6 commit 9d3fab1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ RUN set -ex \
done

ENV NPM_CONFIG_LOGLEVEL info
ENV NODE_VERSION 8.8.1
ENV NODE_VERSION 8.9.3

RUN curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.xz" \
&& curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \
Expand All @@ -42,18 +42,18 @@ RUN curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-
&& rm "node-v$NODE_VERSION-linux-x64.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt

# download and install Erlang package
RUN wget http://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb \
RUN wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb \
&& dpkg -i erlang-solutions_1.0_all.deb \
&& apt-get update

ENV ERLANG_VERSION 1:20.1
ENV ERLANG_VERSION 1:20.2.2

# install Erlang
RUN apt-get install -y esl-erlang=$ERLANG_VERSION && rm erlang-solutions_1.0_all.deb

RUN apt-mark hold esl-erlang

ENV ELIXIR_VERSION 1.5.1
ENV ELIXIR_VERSION 1.6.0

# install Elixir
RUN mkdir /opt/elixir \
Expand All @@ -72,8 +72,8 @@ ENV PHOENIX_VERSION 1.3.0
RUN mix archive.install --force https://github.com/phoenixframework/archives/raw/master/phx_new-$PHOENIX_VERSION.ez

# include Dockerize to help launching containers
RUN wget https://github.com/jwilder/dockerize/releases/download/v0.5.0/dockerize-linux-amd64-v0.5.0.tar.gz
RUN tar -C /usr/local/bin -xzvf dockerize-linux-amd64-v0.5.0.tar.gz && rm dockerize-linux-amd64-v0.5.0.tar.gz
RUN wget https://github.com/jwilder/dockerize/releases/download/v0.6.0/dockerize-linux-amd64-v0.6.0.tar.gz
RUN tar -C /usr/local/bin -xzvf dockerize-linux-amd64-v0.6.0.tar.gz && rm dockerize-linux-amd64-v0.6.0.tar.gz

# include wait-for-it.sh
RUN curl -o /bin/wait-for-it.sh https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh
Expand Down

0 comments on commit 9d3fab1

Please sign in to comment.