Skip to content

Commit 44c732c

Browse files
committed
Copy opam files before opam update
This should ensure that changing dependencies will rerun `opam update`.
1 parent bf0d66d commit 44c732c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bench.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
FROM ocaml/opam:debian-ocaml-5.1
22
RUN sudo ln -sf /usr/bin/opam-2.1 /usr/bin/opam
33
WORKDIR bench-dir
4+
COPY *.opam ./
45
RUN opam remote add origin https://opam.ocaml.org && \
56
opam update
6-
COPY *.opam ./
77
RUN opam pin -yn --with-version=dev .
88
RUN opam install -y --deps-only --with-test .
99
COPY . ./

0 commit comments

Comments
 (0)