From 093d45bac289bb05aef75f7494c0a3750a331020 Mon Sep 17 00:00:00 2001 From: int-y1 Date: Tue, 4 Jan 2022 04:37:34 -0500 Subject: [PATCH] Install Lean 4 --- tier3/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tier3/Dockerfile b/tier3/Dockerfile index 5961a56d..33ed366d 100644 --- a/tier3/Dockerfile +++ b/tier3/Dockerfile @@ -26,6 +26,9 @@ RUN (cd /opt && \ curl -L -otprolog.zip "https://github.com/yingted/OpenTuring/releases/download/v1.0.0-beta/tprolog-v1.0.0-beta.zip" && \ unzip tprolog.zip && mv tprolog /opt && rm tprolog.zip; fi && \ mkdir /opt/zig && \ - curl "https://ziglang.org/download/0.6.0/zig-linux-$(arch)-0.6.0.tar.xz" | tar xJ -C /opt/zig --strip-components=1 + curl "https://ziglang.org/download/0.6.0/zig-linux-$(arch)-0.6.0.tar.xz" | tar xJ -C /opt/zig --strip-components=1 && \ + mkdir /opt/lean && \ + curl --compressed -L "https://github.com/leanprover/lean4/releases/download/v4.0.0-m2/lean-4.0.0-m2-linux.tar.gz" | \ + tar xz -C /opt/lean --strip-components=1 -ENV PATH "/opt/tprolog:/opt/groovy/bin:/opt/kotlin/bin:/opt/dart-sdk/bin:${PATH}:/opt/swift/usr/bin:/opt/zig" +ENV PATH "/opt/tprolog:/opt/groovy/bin:/opt/kotlin/bin:/opt/dart-sdk/bin:${PATH}:/opt/swift/usr/bin:/opt/zig:/opt/lean/bin"