Docker image of lean4 theorem prover.
Image Tag | base | Platform |
---|---|---|
ghcr.io/seasawher/lean4:nightly | ubuntu | GitHub Packages |
ghcr.io/seasawher/lean4:stable | ubuntu | GitHub Packages |
Run the command to pull this image.
docker pull ghcr.io/seasawher/lean4:nightly
Create a docker-compose.yml
file like the following:
version: "3.9"
services:
lean4:
image: ghcr.io/seasawher/lean4:nightly
stdin_open: true
tty: true
And run as following:
docker compose up -d
Create a .devcontainer
directory in the root of your workspace and
create a devcontainer.json
file with the following content.
{
"name": "${containerWorkspaceFolder}",
"image": "ghcr.io/seasawher/lean4:nightly",
"features": {
"ghcr.io/devcontainers/features/git:1": {}
},
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
"settings": {},
// Add the IDs of extensions you want installed when the container is created.
"extensions": []
}
}
}