blob: bf00efea71e9cd4d0ff26a546f4aa2d38fb799f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
## Isabelle/Pure on Isabelle2020
FROM ubuntu
SHELL ["/bin/bash", "-c"]
# packages
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get -y update && \
apt-get install -y curl less libfontconfig1 libgomp1 libwww-perl rlwrap unzip && \
apt-get clean
# user
RUN useradd -m isabelle && (echo isabelle:isabelle | chpasswd)
USER isabelle
# Isabelle
WORKDIR /home/isabelle
RUN
curl -o Isabelle.tar.gz 'https://isabelle.in.tum.de/dist/Isabelle2020_linux.tar.gz'
RUN
tar xzf Isabelle.tar.gz && \
mv Isabelle2020 Isabelle && \
perl -pi -e 's,ISABELLE_HOME_USER=.*,ISABELLE_HOME_USER="\$USER_HOME/.isabelle",g;' Isabelle/etc/settings && \
perl -pi -e 's,ISABELLE_LOGIC=.*,ISABELLE_LOGIC=Pure,g;' Isabelle/etc/settings && \
Isabelle/bin/isabelle build -o system_heaps -b Pure && \
rm Isabelle.tar.gz
ENTRYPOINT ["Isabelle/bin/isabelle"]
|