mirror of
https://github.com/aziis98/lean-codespace.git
synced 2026-10-06 22:54:53 +00:00
10 lines
388 B
Docker
10 lines
388 B
Docker
ARG VARIANT="jammy"
|
|
FROM mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT}
|
|
|
|
RUN apt-get update && apt-get install -yq build-essential nodejs npm
|
|
|
|
USER vscode
|
|
RUN echo $HOME
|
|
RUN curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSfL | sh -s -- --default-toolchain leanprover/lean4:stable -y
|
|
RUN echo 'export PATH="$HOME/.elan/bin:$PATH"' >> $HOME/.profile
|