Skip to content
Snippets Groups Projects
Commit 8b46dec2 authored by Michael Sammler's avatar Michael Sammler
Browse files

Merge branch 'docker' into 'opam2'

update README and add docker file to this repo

See merge request !5
parents e39a5d81 35ac399f
No related branches found
No related tags found
1 merge request!5update README and add docker file to this repo
...@@ -3,15 +3,8 @@ ...@@ -3,15 +3,8 @@
This repository contains the shared Iris CI. It contains common code for Iris This repository contains the shared Iris CI. It contains common code for Iris
projects' CI. projects' CI.
Projects automatically use the latest commit of *some branch* for their CI, so Projects automatically use the latest commit for their CI, so every change needs
branches should remain reasonably compatible. Every branch here comes with a to maintain compatibility and breaking changes need to have a migration plan.
corresponding branch [in the Docker repo](https://github.com/RalfJung/opam-ci),
providing the Docker image that should be used. Currently, we have the
following branches:
* [`opam2`](https://gitlab.mpi-sws.org/FP/iris-ci/tree/opam2), using opam 2.0.
Always remember to push to the right branch!
## How to configure CI for your project ## How to configure CI for your project
......
# Keep distro in sync with CI builder! We run perf inside the container, needs to work with host kernel.
FROM debian:buster
# apt package installation
# gmp: needed by Coq
# python: needed by z3 (for RefinedC)
# mpfr: needed by Cerberus (for RefinedC)
# pkg-config: needed by the conf-mpfr opam package (related to the use of mpfr by Cerberus)
RUN apt update -y && apt install -y pkg-config git rsync tar unzip m4 time curl linux-perf strace ocaml build-essential bubblewrap gawk libgmp-dev python2.7 python3 libmpfr-dev
# opam installation
RUN curl "https://github.com/ocaml/opam/releases/download/2.1.3/opam-2.1.3-x86_64-linux" -Lo /usr/local/bin/opam && chmod +x /usr/local/bin/opam
# prepare CI environment
WORKDIR /
RUN useradd -m ci
USER ci
This is the docker image for Iris CI.
Here's how to update this image on Docker Hub:
```
docker build -t ralfjung/opam-ci:opam2 .
docker login
docker push ralfjung/opam-ci:opam2
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment