We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce31491 commit ee9387eCopy full SHA for ee9387e
.dockerignore
@@ -0,0 +1 @@
1
+_build
bench.Dockerfile
@@ -0,0 +1,10 @@
+FROM ocaml/opam:debian-ocaml-5.1
2
+RUN sudo ln -sf /usr/bin/opam-2.1 /usr/bin/opam
3
+WORKDIR bench-dir
4
+RUN opam remote add origin https://opam.ocaml.org && \
5
+ opam update
6
+COPY *.opam ./
7
+RUN opam pin -yn --with-version=dev .
8
+RUN opam install -y --deps-only --with-test .
9
+COPY . ./
10
+RUN opam exec -- dune build --release bench/main.exe
0 commit comments