FROM mcr.microsoft.com/devcontainers/base:ubuntu-24.04 USER root RUN apt-get update && apt-get install -y locales && \ sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ locale-gen en_US.UTF-8 ENV LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 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