Docker: update OCaml from 4.09.0 -> 4.09.1

This fixes a build with GCC 10 (coming in Debian Bullseye), release notes
available here: https://ocaml.org/releases/4.09.1.html
This commit is contained in:
Christian Poessinger 2021-01-07 23:57:10 +01:00
parent f81c6e53bd
commit 9029464252

View File

@ -115,7 +115,7 @@ RUN dpkg-reconfigure ca-certificates; \
RUN curl https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh \ RUN curl https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh \
--output /tmp/opam_install.sh --retry 10 --retry-delay 5 && \ --output /tmp/opam_install.sh --retry 10 --retry-delay 5 && \
sed -i 's/read BINDIR/BINDIR=""/' /tmp/opam_install.sh && sh /tmp/opam_install.sh && \ sed -i 's/read BINDIR/BINDIR=""/' /tmp/opam_install.sh && sh /tmp/opam_install.sh && \
opam init --root=/opt/opam --comp=4.09.0 --disable-sandboxing opam init --root=/opt/opam --comp=4.09.1 --disable-sandboxing
RUN eval $(opam env --root=/opt/opam --set-root) && opam install -y \ RUN eval $(opam env --root=/opt/opam --set-root) && opam install -y \
pcre re pcre re