agda-mini
Small Docker images containing Agda
588
Small Docker images containing Agda.
See also: https://github.com/sourcedennis/docker-agda-mini
The main purpose of these images is to provide easily reproducible Agda executions. Existing images were often humongous, at roughly ~2 GB (uncompressed). While mine are much smaller (~150MB uncompressed, ~50MB compressed).
Tagging convention:
You're likely looking for sourcedennis/agda-mini:2.6.4.3 (without stdlib) or sourcedennis/agda-mini:2.6.4.3-2.0 (with stdlib)
See also: example directory
If you have a local directory with Agda proofs called proofs/, you can create a Dockerfile like:
FROM sourcedennis/agda-mini:2.6.2.1-1.7.1
WORKDIR /proofs
COPY proofs .
Which you then build into a Docker image with:
docker build . --tag=my-proofs
You can execute your proofs with (assuming your proofs/ directory contains a file Proof.agda):
docker run -it --rm my-proofs agda Proof.agda
As Agda can render to HTML, you can also run:
docker run -it --rm -v "$PWD/html:/proofs/html" my-proofs agda --html --html-dir=html Proof.agda
This creates a local html/ directory. You can open html/Proof.html in any browser.
Content type
Image
Digest
sha256:caa8c4e0f…
Size
27.1 MB
Last updated
3 months ago
docker pull sourcedennis/agda-mini:2.8.0