aboutsummaryrefslogtreecommitdiff
path: root/.github/isabelle-action/Dockerfile
blob: 34f4fc6525e2424c1ba1cbb1f8cdba2584fce108 (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
## Isabelle2020 Dockerfile for GitHub Actions

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


# Isabelle
RUN echo $USER_HOME
ADD https://isabelle.in.tum.de/dist/Isabelle2020_linux.tar.gz Isabelle.tar.gz
RUN ls
RUN tar xzf Isabelle.tar.gz &&\
  mv Isabelle2020 Isabelle &&\
  perl -pi -e 's,ISABELLE_HOME_USER=.*,ISABELLE_HOME_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
RUN ls

ENTRYPOINT [ "sh", "-c", "ls" ]