aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2021-05-10 15:58:40 +0200
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2021-05-10 15:58:40 +0200
commit9c2e0159c71308301dd2dc8c203fb1c6f5ab1976 (patch)
tree5c11e7519011ac590d1007635302904de27782ad
parentd4c173175bbff3c172bf530e6e09f0ff843015bf (diff)
downloadcompcert-kvx-9c2e0159c71308301dd2dc8c203fb1c6f5ab1976.tar.gz
compcert-kvx-9c2e0159c71308301dd2dc8c203fb1c6f5ab1976.zip
dockerfile for building
-rw-r--r--Dockerfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 00000000..3c66b89b
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,8 @@
+FROM debian:stable-20210408
+LABEL maintainer="David.Monniaux@univ-grenoble-alpes.fr"
+RUN apt-get update
+RUN apt-get upgrade -y
+RUN apt-get -y install gcc-powerpc-linux-gnu gcc-powerpc64-linux-gnu gcc-riscv64-linux-gnu gcc-arm-linux-gnueabi gcc-arm-linux-gnueabihf gcc-aarch64-linux-gnu qemu-user opam
+RUN adduser --gecos "Application user" appuser
+USER appuser
+RUN opam init --disable-sandboxing && opam switch create 4.11.2+flambda && eval $(opam config env) && opam pin -y add coq 8.12.2 && opam install -y menhir ocamlbuild coq