mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Merge pull request #854 from jestabro/opam-install
docker: T6929: fix sed pattern for change in Opam install.sh
This commit is contained in:
commit
1efcc4c5e1
@ -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) && \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user