Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: OCaml 5.0.0 compatibility #17

Closed
wants to merge 6 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 15 additions & 10 deletions ocaml-general/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
git \
npm \
pkg-config
git-lfs \
pkg-config \
&& rm -rf /var/lib/apt/lists/*

RUN npm install n -g && \
n latest && \
Expand All @@ -21,26 +23,29 @@ RUN npm install yarn -g
RUN apt-get update && apt-get install -y \
opam

ARG VER=4.12.1
ARG VER=5.0.0
RUN opam init --auto-setup --yes --bare --disable-sandboxing
RUN opam switch create $VER
RUN opam install --yes \
dune.3.4.0 \
merlin \
odoc.2.1.1 \
ppxlib.0.26.0 \
odoc.2.2.0 \
ppxlib.0.28.0 \
ppx_deriving.5.2.1 \
js_of_ocaml.4.0.0 js_of_ocaml-ppx.4.0.0 \
sexplib.v0.15.0 ppx_sexp_conv.v0.15.1 \
yojson.1.7.0 ppx_yojson_conv.v0.15.0 \
js_of_ocaml.4.1.0 js_of_ocaml-ppx.4.1.0 js_of_ocaml-lwt.4.1.0\
sexplib.v0.15.1 ppx_sexp_conv.v0.15.1 \
yojson.2.0.2 ppx_yojson_conv.v0.15.1 \
jsonm.1.0.1 \
ezjsonm.1.3.0 \
ppx_optcomp.v0.15.0 \
brr.0.0.3 \
brr.0.0.4 \
prr.0.1.1 \
zed.3.2.0 \
tezt.3.0.0 \
ppx_inline_test.v0.15.0 \
alcotest.1.6.0 \
qcheck.0.19.1 \
qcheck-alcotest.0.19.1
qcheck.0.20 \
qcheck-alcotest.0.20

ENV DEBIAN_FRONTEND=$DEBIAN_FRONTEND_OLD
ENV OPAMROOT=/root/.opam
Expand Down