-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (23 loc) · 831 Bytes
/
Dockerfile
File metadata and controls
30 lines (23 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
ARG BASE_TAG="latest"
FROM coqorg/coq:8.19.2-ocaml-4.14.2-flambda
COPY --chown=coq . /artifact/axsl
WORKDIR /artifact
# hadolint ignore=SC2046
RUN sudo apt-get update && sudo apt-get install zlib1g-dev -y
RUN eval $(opam env --set-switch) \
&& opam update -y -u \
&& opam config list && opam repo list && opam list
# Uncomment below to use dev stdpp and Iris
#\ && opam repo add iris-dev https://gitlab.mpi-sws.org/iris/opam.git
RUN opam install axsl/. --deps-only -y
RUN git clone https://github.com/rems-project/coq-sail \
&& cd coq-sail \
&& git checkout 4bcec15 \
&& opam pin . -y
RUN git clone https://github.com/tchajed/iris-named-props.git \
&& cd iris-named-props \
&& git checkout 3cf2d97 \
&& opam pin . -y
RUN opam list \
&& cd axsl \
&& dune build --display short