You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
388 B
Docker

1 year ago
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