aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile11
1 files changed, 3 insertions, 8 deletions
diff --git a/Dockerfile b/Dockerfile
index 3c66b89b..c075380c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,8 +1,3 @@
-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
+FROM compcert_build_env
+COPY . CompCert_aarch64
+RUN eval $(opam config env) && cd CompCert_aarch64 && ./config_aarch64.sh && make && make install