Skip to content

Commit fd311ff

Browse files
Disable package management by default
Signed-off-by: Marek Kubica <marek@tarides.com>
1 parent 6e67353 commit fd311ff

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM ocaml/opam:alpine-3.23-ocaml-4.14 AS build
22
RUN sudo ln -sf /usr/bin/opam-2.5 /usr/bin/opam && \
33
opam init --reinit -ni
4-
RUN opam repo add archive git+https://github.com/ocaml/opam-repository-archive --all
4+
RUN opam repo add archive-without-constraint git+https://github.com/tarides/moby-vpnkit-opam-repository-archive#remove-dune-upper-constraint --all
55

66
ADD . /home/opam/vpnkit
77
RUN opam pin add vpnkit /home/opam/vpnkit --kind=path -n

dune-project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
(lang dune 2.0)
1+
(lang dune 3.23)
22
(name vpnkit)

dune-workspace

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
(lang dune 3.19)
1+
(lang dune 3.23)
22

33
(repository
44
(name archive-without-constraint)
55
(url git+https://github.com/tarides/moby-vpnkit-opam-repository-archive#remove-dune-upper-constraint))
66

77
(lock_dir
88
(repositories upstream overlay archive-without-constraint))
9+
10+
(pkg disabled)

vpnkit.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ build: [
2525

2626
depends: [
2727
"ocaml" {>="4.08.0"}
28-
"dune" {>= "3.19"}
28+
"dune" {>= "3.23"}
2929
"alcotest" {with-test}
3030
"ounit" {with-test}
3131
"tar" {>= "1.0.1"}

0 commit comments

Comments
 (0)