mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Use a longer, more descriptive --no-setup opam option.
It disables user shell environment setup.
This commit is contained in:
parent
f6f2c1e18b
commit
430084797b
@ -119,7 +119,7 @@ RUN dpkg-reconfigure ca-certificates; \
|
||||
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 && \
|
||||
opam init --root=/opt/opam --comp=4.09.1 --disable-sandboxing -n
|
||||
opam init --root=/opt/opam --comp=4.09.1 --disable-sandboxing --no-setup
|
||||
|
||||
RUN eval $(opam env --root=/opt/opam --set-root) && opam install -y \
|
||||
pcre re
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user