summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2025-02-14 12:51:27 -0600
committerJohn Estabrook <jestabro@vyos.io>2025-02-14 12:59:25 -0600
commit841b0f41724a5d6478e21865189679cf75cdee4b (patch)
tree632aa31996773a757d25831fc7c3fc1110dae4f4 /docker
parent26517587b61ce179b1f48676f454a363b875b430 (diff)
downloadvyos-build-841b0f41724a5d6478e21865189679cf75cdee4b.tar.gz
vyos-build-841b0f41724a5d6478e21865189679cf75cdee4b.zip
docker: T7170: fix sed pattern for change in OPAM install.sh
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 53ee7460..a638a438 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -137,7 +137,7 @@ RUN dpkg-reconfigure ca-certificates; \
# Installing OCAML needed to compile libvyosconfig
RUN curl https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh \
--output /tmp/opam_install.sh --retry 10 --retry-delay 5 && \
- sed -i 's/read -r BINDIR/BINDIR=""/' /tmp/opam_install.sh && sh /tmp/opam_install.sh && \
+ sed -i 's/read_tty 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) && \