mirror of
https://github.com/internetee/epp_proxy.git
synced 2025-08-15 20:13:47 +02:00
Update dockerfile to install rebar with asdf
This commit is contained in:
parent
67c710a6e7
commit
23193d612e
1 changed files with 2 additions and 4 deletions
|
@ -54,9 +54,7 @@ WORKDIR /opt/erlang/epp_proxy
|
||||||
COPY .tool-versions ./
|
COPY .tool-versions ./
|
||||||
RUN asdf plugin-add erlang
|
RUN asdf plugin-add erlang
|
||||||
RUN asdf install
|
RUN asdf install
|
||||||
|
RUN asdf global erlang $(grep erlang .tool-versions | cut -d' ' -f2)
|
||||||
RUN asdf plugin-add ruby
|
RUN asdf plugin-add ruby
|
||||||
|
RUN asdf plugin-add rebar
|
||||||
RUN asdf install
|
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
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue