23 lines
675 B
Docker
23 lines
675 B
Docker
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
|