Skip to content

Commit

Permalink
Only install Lean 4 on amd64
Browse files Browse the repository at this point in the history
  • Loading branch information
int-y1 authored and quantum5 committed Jan 7, 2022
1 parent c8e1834 commit 33fe3ad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tier3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ RUN (cd /opt && \
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 && \
mkdir /opt/lean && \
if [ "$(arch)" = x86_64 ]; then \
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
tar xz -C /opt/lean --strip-components=1; fi
ENV PATH "/opt/tprolog:/opt/groovy/bin:/opt/kotlin/bin:/opt/dart-sdk/bin:${PATH}:/opt/swift/usr/bin:/opt/zig:/opt/lean/bin"

0 comments on commit 33fe3ad

Please sign in to comment.