https://github.com/EasyCrypt/easycrypt
Tip revision: 2b7b58c4b31cf74da6062396ac96fb12b9499ea0 authored by Pierre-Yves Strub on 15 October 2019, 07:02:30 UTC
Merge branch '1.0' into deploy-global-union
Merge branch '1.0' into deploy-global-union
Tip revision: 2b7b58c
Dockerfile
FROM debian:sid
MAINTAINER Pierre-Yves Strub <pierre-yves@strub.nu>
ENV DEBIAN_FRONTEND noninteractive
RUN \
apt-get -q -y update && \
apt-get -q -y dist-upgrade && \
apt-get -q -y install sudo m4 rsync git curl wget && \
apt-get -q -y install python python-pip python3 python3-pip && \
pip install --no-cache-dir pyyaml && \
pip3 install --no-cache-dir pyyaml && \
apt-get -q -y --no-install-recommends install mccs ocaml-nox opam aspcud && \
apt-get -q -y clean
COPY sudo-ci /etc/sudoers.d/ci
RUN addgroup --gid 2000 ci
RUN adduser --disabled-password --gecos "CI" --uid 2000 --gid 2000 ci
RUN chmod 440 /etc/sudoers.d/ci
USER ci
WORKDIR /home/ci
ENV OPAMYES=true OPAMVERBOSE=0 OPAMJOBS=4 OPAMEXTERNALSOLVER=mccs
RUN \
opam init --disable-sandboxing -a && \
opam switch create -v easycrypt ocaml-base-compiler.4.07.1 && \
opam remote add easycrypt https://github.com/EasyCrypt/opam.git && \
opam install depext && opam depext easycrypt ec-provers && \
opam clean
RUN \
opam install --deps-only easycrypt && opam clean
ENV CVC4V=1.6 Z3V=4.8.6
RUN \
opam install alt-ergo && \
wget -O cvc4 https://cvc4.cs.stanford.edu/downloads/builds/x86_64-linux-opt/cvc4-${CVC4V}-x86_64-linux-opt && \
wget https://github.com/Z3Prover/z3/releases/download/z3-${Z3V}/z3-${Z3V}-x64-ubuntu-16.04.zip && \
unzip -j z3-${Z3V}-x64-ubuntu-16.04.zip z3-${Z3V}-x64-ubuntu-16.04/bin/z3 && \
rm z3-${Z3V}-x64-ubuntu-16.04.zip && \
sudo install -o root -g root -m 0755 -t /usr/local/bin z3 cvc4 && \
rm -f z3 cvc4
RUN \
opam config exec -- why3 config --detect