aboutsummaryrefslogtreecommitdiffstats
path: root/compcert_build_env.dockerfile
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2021-05-11 21:12:17 +0200
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2021-05-11 21:12:17 +0200
commitec52206bcb149b597dd81913347a36d0ddb6e28b (patch)
treee43f00aeefd4482d7cb564a9d9ae1b27beaecc5a /compcert_build_env.dockerfile
parente1fbdc177f27fac7ae92750eb5a55418ddf0aaa7 (diff)
downloadcompcert-kvx-ec52206bcb149b597dd81913347a36d0ddb6e28b.tar.gz
compcert-kvx-ec52206bcb149b597dd81913347a36d0ddb6e28b.zip
for making the docker
Diffstat (limited to 'compcert_build_env.dockerfile')
-rw-r--r--compcert_build_env.dockerfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/compcert_build_env.dockerfile b/compcert_build_env.dockerfile
new file mode 100644
index 00000000..de339e55
--- /dev/null
+++ b/compcert_build_env.dockerfile
@@ -0,0 +1,6 @@
+FROM debian:stable-20210408
+LABEL maintainer="David.Monniaux@univ-grenoble-alpes.fr"
+RUN apt-get update && apt-get upgrade -y && 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 -n coq 8.12.2 && opam install -y menhir ocamlbuild coq