Add a development container.

This commit is contained in:
Hans Goor 2024-08-16 20:32:11 +00:00
parent 302095d982
commit f395acafd8
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,10 @@
FROM mcr.microsoft.com/devcontainers/base:ubuntu
RUN apt-get -y update && apt-get -y install curl git unzip build-essential autoconf m4 libncurses5-dev libwxgtk3.2-dev libwxgtk-webview3.2-dev libgl1-mesa-dev libglu1-mesa-dev libpng-dev libssh-dev unixodbc-dev xsltproc fop libxml2-utils libncurses-dev openjdk-11-jdk
RUN git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.0
RUN echo ". \$HOME/.asdf/asdf.sh" >> "$HOME/.bashrc" && \
. "$HOME/.asdf/asdf.sh" && \
asdf plugin add erlang https://github.com/asdf-vm/asdf-erlang.git && \
asdf plugin add elixir https://github.com/asdf-vm/asdf-elixir.git && \
asdf install erlang 27 && \
asdf install elixir v1.17.2

View file

@ -0,0 +1,10 @@
{
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"customizations": {
"vscode": {
"extensions": [
"JakeBecker.elixir-ls"
]
}
}
}