Elixir working, postgres next

This commit is contained in:
2026-03-17 22:13:42 +00:00
parent 0fc729603c
commit e56ea0400f
2 changed files with 28 additions and 5 deletions
+22
View File
@@ -0,0 +1,22 @@
FROM mcr.microsoft.com/devcontainers/base:ubuntu-24.04
USER root
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \
apt-get install -y nodejs
USER vscode
RUN npm config set prefix /home/vscode/.npm-global
ENV PATH="/home/vscode/.npm-global/bin:/home/vscode/.local/bin:$PATH"
RUN curl https://mise.run | sh
RUN /home/vscode/.local/bin/mise install elixir@latest erlang@latest && \
/home/vscode/.local/bin/mise use --global elixir@latest erlang@latest
RUN /home/vscode/.local/bin/mise exec -- mix local.hex --force && \
/home/vscode/.local/bin/mise exec -- mix local.rebar --force
RUN npm install -g @mariozechner/pi-coding-agent
USER root