Skip to content

Commit 99960d9

Browse files
authored
update to ocaml 5.1 (#527)
1 parent 7b0aba5 commit 99960d9

File tree

2 files changed

+28
-28
lines changed

2 files changed

+28
-28
lines changed

.github/Dockerfile

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
1-
FROM ocaml/opam:debian-11-ocaml-4.14-afl
1+
FROM ocaml/opam:debian-11-ocaml-5.1-afl
22

33
USER root
44

55
RUN apt-get update \
6-
&& apt-get install -y m4 bmake cpio net-tools fswatch pkg-config \
7-
&& rm -rf /var/lib/apt/lists/*
6+
&& apt-get install -y m4 bmake cpio net-tools fswatch pkg-config \
7+
&& rm -rf /var/lib/apt/lists/*
88

99
RUN git config --global --add safe.directory "*"
1010

1111
RUN cd /home/opam/opam-repository \
12-
&& git pull origin master
12+
&& git pull origin master
1313

1414
RUN opam update \
15-
&& opam install core \
16-
core_unix \
17-
merlin \
18-
yaml \
19-
ezjsonm \
20-
mustache \
21-
dune \
22-
fpath \
23-
ocamlfind \
24-
ounit \
25-
ounit2 \
26-
qcheck \
27-
react \
28-
ppx_deriving \
29-
ppx_let \
30-
ppx_sexp_conv \
31-
yojson \
32-
ocp-indent \
33-
calendar \
34-
getopts \
35-
stdio
15+
&& opam install core \
16+
core_unix \
17+
merlin \
18+
yaml \
19+
ezjsonm \
20+
mustache \
21+
dune \
22+
fpath \
23+
ocamlfind \
24+
ounit \
25+
ounit2 \
26+
qcheck \
27+
react \
28+
ppx_deriving \
29+
ppx_let \
30+
ppx_sexp_conv \
31+
yojson \
32+
ocp-indent \
33+
calendar \
34+
getopt \
35+
stdio
3636

37-
ENV PATH="/home/opam/.opam/4.14/bin:${PATH}" \
38-
MAKESYSPATH=/usr/share/bmake/mk-bmake
37+
ENV PATH="/home/opam/.opam/5.1/bin:${PATH}" \
38+
MAKESYSPATH=/usr/share/bmake/mk-bmake

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ notes contain a few details specific to Ocaml.
1515

1616
**Prerequesites**
1717

18-
* OCaml `4.07`
18+
* OCaml `5.1`
1919
* opam
2020
* make
2121

0 commit comments

Comments
 (0)