aboutsummaryrefslogtreecommitdiffhomepage
path: root/etc
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2015-03-13 19:27:11 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2015-03-13 19:27:11 +0000
commitbd817c08d157e33e55e4b99fed7f7809dcfe2de2 (patch)
tree4abdeaaf1348ec708f3e7c8b28aabb7c4fb0317d /etc
parent2820cb68b1880390a150faf80eabc5126d013307 (diff)
Summary: Experimental Dockerfile
Diffstat (limited to 'etc')
-rw-r--r--etc/Dockerfile32
1 files changed, 32 insertions, 0 deletions
diff --git a/etc/Dockerfile b/etc/Dockerfile
new file mode 100644
index 00000000..23f9026c
--- /dev/null
+++ b/etc/Dockerfile
@@ -0,0 +1,32 @@
+FROM dockerfile/ubuntu:latest
+MAINTAINER David Aspinall
+
+RUN apt-get update
+
+# Install Emacs and Proof General
+RUN \
+ apt-get install -y emacs && \
+ cd /tmp && \
+ wget http://proofgeneral.inf.ed.ac.uk/releases/ProofGeneral-latest.tgz && \
+ tar -xpzf ProofGeneral-latest.tgz && \
+ cd ProofGeneral && \
+ make clean; make install && \
+ rm -rf /tmp/ProofGeneral*
+
+# Get some theorem provers...
+RUN \
+ apt-get install -y coq
+
+RUN \
+ cd /tmp && \
+ wget http://isabelle.in.tum.de/dist/Isabelle2014_linux.tar.gz && \
+ cd /usr/local && tar -xpzf Isabelle_2014_linux.tar.gz
+
+# Cleanup
+RUN rm -rf /var/lib/apt/lists*
+
+# Define working directory.
+WORKDIR /proofgeneral
+
+# Define default command.
+CMD ["proofgeneral"]