Docker: T4970: pin OCaml pcre package to avoid JIT support

This commit is contained in:
John Estabrook 2023-01-31 11:13:27 -06:00
parent 09ec7740dc
commit c26f9f9309

View File

@ -127,8 +127,11 @@ RUN curl https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh \
sed -i 's/read BINDIR/BINDIR=""/' /tmp/opam_install.sh && sh /tmp/opam_install.sh && \
opam init --root=/opt/opam --comp=${OCAML_VERSION} --disable-sandboxing --no-setup
RUN eval $(opam env --root=/opt/opam --set-root) && \
opam pin add pcre https://github.com/mmottl/pcre-ocaml.git#0c4ca03a -y
RUN eval $(opam env --root=/opt/opam --set-root) && opam install -y \
pcre re
re
RUN eval $(opam env --root=/opt/opam --set-root) && opam install -y \
num \