Skip to content

Commit 39b32ae

Browse files
committed
Dockerfile & dependencies updates
1 parent ea9cc6e commit 39b32ae

14 files changed

+35
-25
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:45b04e2a4c933c57549382045dfac12cb7e872cace0456f92f4b022066e48111 AS build
2-
RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam && opam init --reinit -ni
1+
# syntax=docker/dockerfile:1
2+
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:be38063c43f00b0627de62144f24dc8c9929504f0db4774343d7bffc62777073 AS build
3+
RUN sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam && opam init --reinit -ni
34
RUN sudo apt-get update && sudo apt-get install libcapnp-dev libffi-dev libev-dev capnproto m4 pkg-config libsqlite3-dev libgmp-dev graphviz -y --no-install-recommends
4-
RUN cd ~/opam-repository && git fetch -q origin master && git reset --hard cf93548ddc4f36b87b006f4858fac7ae73ccaa0f && opam update
5+
RUN cd ~/opam-repository && git fetch -q origin master && git reset --hard 1b4da5019e5ea60af76c94aacc672a7e9659a832 && opam update
56
COPY --chown=opam \
67
ocurrent/current_docker.opam \
78
ocurrent/current_github.opam \

Dockerfile.gitlab

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:45b04e2a4c933c57549382045dfac12cb7e872cace0456f92f4b022066e48111 AS build
2-
RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam && opam init --reinit -ni
1+
# syntax=docker/dockerfile:1
2+
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:be38063c43f00b0627de62144f24dc8c9929504f0db4774343d7bffc62777073 AS build
3+
RUN sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam && opam init --reinit -ni
34
RUN sudo apt-get update && sudo apt-get install libev-dev capnproto m4 pkg-config libsqlite3-dev libgmp-dev graphviz -y --no-install-recommends
4-
RUN cd ~/opam-repository && git fetch -q origin master && git reset --hard cf93548ddc4f36b87b006f4858fac7ae73ccaa0f && opam update
5+
RUN cd ~/opam-repository && git fetch -q origin master && git reset --hard 1b4da5019e5ea60af76c94aacc672a7e9659a832 && opam update
56
COPY --chown=opam \
67
ocurrent/current_docker.opam \
78
ocurrent/current_github.opam \

Dockerfile.web

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:45b04e2a4c933c57549382045dfac12cb7e872cace0456f92f4b022066e48111 AS build
2-
RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam && opam init --reinit -ni
1+
# syntax=docker/dockerfile:1
2+
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:be38063c43f00b0627de62144f24dc8c9929504f0db4774343d7bffc62777073 AS build
3+
RUN sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam && opam init --reinit -ni
34
RUN sudo apt-get update && sudo apt-get install libev-dev capnproto m4 pkg-config libgmp-dev libssl-dev libffi-dev libsqlite3-dev -y --no-install-recommends
4-
RUN cd ~/opam-repository && git fetch -q origin master && git reset --hard cf93548ddc4f36b87b006f4858fac7ae73ccaa0f && opam update
5+
RUN cd ~/opam-repository && git fetch -q origin master && git reset --hard 1b4da5019e5ea60af76c94aacc672a7e9659a832 && opam update
56
COPY --chown=opam \
67
ocurrent/current_rpc.opam \
78
/src/ocurrent/

dune-project

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
(lang dune 3.7)
1+
(lang dune 3.16)
22
(name ocaml-ci)
33

44
(generate_opam_files true)
55
(source (github ocurrent/ocaml-ci))
66
(authors "talex5@gmail.com")
77
(maintainers "Navin Keswani <navin@novemberkilo.com>" "Tim McGilchrist <timmcgil@gmail.com>")
88
(documentation "https://ocaml.ci.dev/documentation")
9+
(license "MIT")
910

1011
(package
1112
(name ocaml-ci-api)
@@ -135,10 +136,10 @@
135136
(ansi (>= 0.6.0))
136137
(capnp-rpc-unix (>= 1.2))
137138
(crunch (and (>= 3.2.0) :build))
138-
(dream (= 1.0.0~alpha5))
139+
(dream (= 1.0.0~alpha6))
139140
(fmt (>= 0.8.9))
140141
(logs (>= 0.7.0))
141-
(lwt (>= 5.6.1))
142+
(lwt (>= 5.7.0))
142143
(prometheus-app (>= 1.2))
143144
(ppx_deriving_yojson (>= 3.7))
144145
(yojson (>= 2.1))

ocaml-ci-api.opam

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ maintainer: [
66
"Tim McGilchrist <timmcgil@gmail.com>"
77
]
88
authors: ["talex5@gmail.com"]
9+
license: "MIT"
910
homepage: "https://github.com/ocurrent/ocaml-ci"
1011
doc: "https://ocaml.ci.dev/documentation"
1112
bug-reports: "https://github.com/ocurrent/ocaml-ci/issues"
1213
depends: [
13-
"dune" {>= "3.7"}
14+
"dune" {>= "3.16"}
1415
"ocaml" {>= "4.14"}
1516
"current_rpc"
1617
"capnp" {>= "3.4.0"}

ocaml-ci-client.opam

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ maintainer: [
66
"Tim McGilchrist <timmcgil@gmail.com>"
77
]
88
authors: ["talex5@gmail.com"]
9+
license: "MIT"
910
homepage: "https://github.com/ocurrent/ocaml-ci"
1011
doc: "https://ocaml.ci.dev/documentation"
1112
bug-reports: "https://github.com/ocurrent/ocaml-ci/issues"
1213
depends: [
13-
"dune" {>= "3.7"}
14+
"dune" {>= "3.16"}
1415
"ocaml" {>= "4.14"}
1516
"ocaml-ci-api"
1617
"current_rpc"

ocaml-ci-gitlab.opam

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ maintainer: [
77
"Tim McGilchrist <timmcgil@gmail.com>"
88
]
99
authors: ["talex5@gmail.com"]
10+
license: "MIT"
1011
homepage: "https://github.com/ocurrent/ocaml-ci"
1112
doc: "https://ocaml.ci.dev/documentation"
1213
bug-reports: "https://github.com/ocurrent/ocaml-ci/issues"
1314
depends: [
14-
"dune" {>= "3.7"}
15+
"dune" {>= "3.16"}
1516
"ocaml" {>= "4.14"}
1617
"ocaml-ci"
1718
"ocaml-ci-service"

ocaml-ci-service.opam

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ maintainer: [
66
"Tim McGilchrist <timmcgil@gmail.com>"
77
]
88
authors: ["talex5@gmail.com"]
9+
license: "MIT"
910
homepage: "https://github.com/ocurrent/ocaml-ci"
1011
doc: "https://ocaml.ci.dev/documentation"
1112
bug-reports: "https://github.com/ocurrent/ocaml-ci/issues"
1213
depends: [
13-
"dune" {>= "3.7"}
14+
"dune" {>= "3.16"}
1415
"ocaml" {>= "4.14"}
1516
"ocaml-ci-api"
1617
"current_git"

ocaml-ci-web.opam

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,22 @@ maintainer: [
66
"Tim McGilchrist <timmcgil@gmail.com>"
77
]
88
authors: ["talex5@gmail.com"]
9+
license: "MIT"
910
homepage: "https://github.com/ocurrent/ocaml-ci"
1011
doc: "https://ocaml.ci.dev/documentation"
1112
bug-reports: "https://github.com/ocurrent/ocaml-ci/issues"
1213
depends: [
13-
"dune" {>= "3.7"}
14+
"dune" {>= "3.16"}
1415
"ocaml" {>= "4.14"}
1516
"ocaml-ci-api"
1617
"tailwindcss"
1718
"ansi" {>= "0.6.0"}
1819
"capnp-rpc-unix" {>= "1.2"}
1920
"crunch" {>= "3.2.0" & build}
20-
"dream" {= "1.0.0~alpha5"}
21+
"dream" {= "1.0.0~alpha6"}
2122
"fmt" {>= "0.8.9"}
2223
"logs" {>= "0.7.0"}
23-
"lwt" {>= "5.6.1"}
24+
"lwt" {>= "5.7.0"}
2425
"prometheus-app" {>= "1.2"}
2526
"ppx_deriving_yojson" {>= "3.7"}
2627
"yojson" {>= "2.1"}
@@ -44,5 +45,5 @@ build: [
4445
]
4546
dev-repo: "git+https://github.com/ocurrent/ocaml-ci.git"
4647
pin-depends: [
47-
["tailwindcss.dev" "https://github.com/tmattio/opam-tailwindcss/archive/3e60fc32bbcf82525999d83ad0f395e16107026b.tar.gz"]
48+
["tailwindcss.dev" "https://github.com/tmattio/opam-tailwindcss/archive/e5bb6361a50c7cc5cad802311e609336583ca08f.tar.gz"]
4849
]

ocaml-ci-web.opam.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
pin-depends: [
2-
["tailwindcss.dev" "https://github.com/tmattio/opam-tailwindcss/archive/3e60fc32bbcf82525999d83ad0f395e16107026b.tar.gz"]
2+
["tailwindcss.dev" "https://github.com/tmattio/opam-tailwindcss/archive/e5bb6361a50c7cc5cad802311e609336583ca08f.tar.gz"]
33
]

0 commit comments

Comments
 (0)