alnoda-workspaces/workspaces/erlang-elixir-workspace/Dockerfile

21 lines
877 B
Docker
Raw Permalink Normal View History

2023-07-06 03:36:02 +12:00
FROM alnoda/java-workspace:5.0-17
2022-05-26 19:49:31 +12:00
2023-07-06 03:36:02 +12:00
RUN wrk install erlang==25.0
2022-05-26 19:49:31 +12:00
ENV PATH="$PATH:/home/abc/erlang/25.0/bin"
2023-07-06 03:36:02 +12:00
RUN wrk install elixir==1.13.4
2022-05-26 19:49:31 +12:00
ENV PATH="$PATH:/home/abc/.kiex/bin"
ENV PATH="$PATH:/home/abc/.kiex/elixirs/elixir-1.13.4/bin"
2022-09-09 09:40:57 +12:00
2022-10-31 07:02:12 +13:00
# Install codeserver extensions
RUN echo "------------------------------------------------------ common extensions" \
&& code-server --install-extension erlang-ls.erlang-ls \
&& code-server --install-extension elixir-lsp.elixir-ls \
&& code-server --install-extension pantajoe.vscode-elixir-credo \
&& code-server --install-extension lakshitsomani.best-themes-redefined
# Set default codeserver theme
COPY --chown=abc:abc settings.json /home/abc/.local/share/code-server/User/settings.json
2023-07-06 03:36:02 +12:00
# Gonfigure Alnoda workspace
2022-09-09 09:40:57 +12:00
COPY --chown=abc:abc workspace /tmp/workspace
2023-07-06 03:36:02 +12:00
RUN wrk build /tmp/workspace && rm -rf /tmp/workspace