chore: allow for multiple versions of elixir-ls
This commit is contained in:
parent
d698aca9db
commit
23c280dc2f
10
Dockerfile
10
Dockerfile
@ -192,13 +192,17 @@ RUN mkdir -p ${HOME}/.local/src \
|
|||||||
# && make test \
|
# && make test \
|
||||||
&& make install
|
&& make install
|
||||||
|
|
||||||
# fetch elixir-ls compatible with elixir 1.11.x
|
# fetch elixir-ls compatible with elixir 1.11.x and 1.12.x
|
||||||
# to setup this project run the following commands:
|
# to setup this project run the following commands:
|
||||||
# mix do local.rebar --force, local.hex --force
|
# mix do local.rebar --force, local.hex --force
|
||||||
# mix do deps.get, deps.compile
|
# mix do deps.get, deps.compile
|
||||||
# MIX_ENV=prod mix compile
|
# MIX_ENV=prod mix compile
|
||||||
# MIX_ENV=prod mix elixir_ls.release
|
# MIX_ENV=prod mix elixir_ls.release
|
||||||
RUN git clone https://github.com/elixir-lsp/elixir-ls.git ${LOCAL_SRC_HOME}/elixir-ls \
|
RUN git clone https://github.com/elixir-lsp/elixir-ls.git ${LOCAL_SRC_HOME}/elixir-ls/v0.12.0 \
|
||||||
&& cd ${LOCAL_SRC_HOME}/elixir-ls \
|
&& cd ${LOCAL_SRC_HOME}/elixir-ls/v0.12.0 \
|
||||||
&& git checkout tags/v0.12.0 \
|
&& git checkout tags/v0.12.0 \
|
||||||
|
&& cp .release-tool-versions .tool-versions \
|
||||||
|
&& git clone https://github.com/elixir-lsp/elixir-ls.git ${LOCAL_SRC_HOME}/elixir-ls/v0.14.6 \
|
||||||
|
&& cd ${LOCAL_SRC_HOME}/elixir-ls/v0.14.6 \
|
||||||
|
&& git checkout tags/v0.14.6 \
|
||||||
&& cp .release-tool-versions .tool-versions
|
&& cp .release-tool-versions .tool-versions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user