summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-12-02 11:37:47 -0600
committerJohn Estabrook <jestabro@vyos.io>2024-12-02 11:37:47 -0600
commit04d7f13c49ffceb3e57549f7666a125cbc31d230 (patch)
tree6da44305c6790f130b9c7b3898a4381167fa6491
parent5bccbebc1eababfa856d82992b0cd593bbb37de9 (diff)
downloadvyos-build-04d7f13c49ffceb3e57549f7666a125cbc31d230.tar.gz
vyos-build-04d7f13c49ffceb3e57549f7666a125cbc31d230.zip
docker: T6929: fix sed pattern for change in Opam install.sh
-rw-r--r--docker/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 9b700e0e..8be48b33 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 BINDIR/BINDIR=""/' /tmp/opam_install.sh && sh /tmp/opam_install.sh && \
+ sed -i 's/read -r 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) && \