diff options
author | Josh Chen | 2020-07-17 11:03:22 +0200 |
---|---|---|
committer | Josh Chen | 2020-07-17 11:03:22 +0200 |
commit | 877b9511e2ffbef518dbc92ac6a8ec98559f69f4 (patch) | |
tree | 7ebfe3d02e4d595ea05ea664e2e6f3b402a02f3a /.github/isabelle-action | |
parent | 66b180a3b9a6dc63869f28f3b98a487933452556 (diff) |
test
Diffstat (limited to '')
-rw-r--r-- | .github/isabelle-action/Dockerfile | 12 | ||||
-rw-r--r-- | .github/isabelle-action/entrypoint.sh | 5 |
2 files changed, 10 insertions, 7 deletions
diff --git a/.github/isabelle-action/Dockerfile b/.github/isabelle-action/Dockerfile index fe6bc48..20b250d 100644 --- a/.github/isabelle-action/Dockerfile +++ b/.github/isabelle-action/Dockerfile @@ -3,24 +3,22 @@ FROM ubuntu SHELL ["/bin/bash", "-c"] -# Packages +# Install 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 $HOME +# Set up Isabelle 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" ] +# Set up entrypoint +RUN chmod +x entrypoint.sh +ENTRYPOINT ["entrypoint.sh"] diff --git a/.github/isabelle-action/entrypoint.sh b/.github/isabelle-action/entrypoint.sh new file mode 100644 index 0000000..954226a --- /dev/null +++ b/.github/isabelle-action/entrypoint.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +chmod +x /Isabelle/bin/isabelle +sh -c "/Isabelle/bin/isabelle $INPUT_TOOL_ARGS" + |