From 23193d612e8363664c353642e3f3a8dd6c79f2f9 Mon Sep 17 00:00:00 2001 From: Maciej Szlosarczyk Date: Mon, 15 Jul 2019 13:43:29 +0300 Subject: [PATCH] Update dockerfile to install rebar with asdf --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index c4fcd8e..2492146 100644 --- a/Dockerfile +++ b/Dockerfile @@ -54,9 +54,7 @@ WORKDIR /opt/erlang/epp_proxy COPY .tool-versions ./ RUN asdf plugin-add erlang RUN asdf install +RUN asdf global erlang $(grep erlang .tool-versions | cut -d' ' -f2) RUN asdf plugin-add ruby +RUN asdf plugin-add rebar RUN asdf install - -RUN curl https://s3.amazonaws.com/rebar3/rebar3 -o /rebar3 -RUN mv /rebar3 /usr/local/bin -RUN chmod +x /usr/local/bin/rebar3