diff --git a/.devcontainer/Containerfile b/.devcontainer/Containerfile new file mode 100644 index 0000000..c2f774e --- /dev/null +++ b/.devcontainer/Containerfile @@ -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 diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..5aa6ead --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,10 @@ +{ + "image": "mcr.microsoft.com/devcontainers/base:ubuntu", + "customizations": { + "vscode": { + "extensions": [ + "JakeBecker.elixir-ls" + ] + } + } +} \ No newline at end of file