mirror of
https://github.com/aziis98/lean-codespace.git
synced 2026-10-06 22:54:53 +00:00
initial commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
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
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "Ubuntu",
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile",
|
||||
"args": { "VARIANT": "ubuntu-22.04" }
|
||||
},
|
||||
"remoteUser": "vscode",
|
||||
"features": {
|
||||
"git": "os-provided"
|
||||
},
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"leanprover.lean4"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user