summaryrefslogtreecommitdiff
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-01-31 11:13:27 -0600
committerJohn Estabrook <jestabro@vyos.io>2023-01-31 11:14:07 -0600
commitc26f9f9309d3dad0fb344a4691a97a00d39a4b28 (patch)
treecf3349e869abc9cd857e0b6681455f5ff82279fc /docker/Dockerfile
parent09ec7740dca79e159b9e319c6ffbe61e880eb177 (diff)
downloadvyos-build-c26f9f9309d3dad0fb344a4691a97a00d39a4b28.tar.gz
vyos-build-c26f9f9309d3dad0fb344a4691a97a00d39a4b28.zip
Docker: T4970: pin OCaml pcre package to avoid JIT support
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 8a7720ae..e90338cc 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -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 \