diff options
author | Daniil Baturin <daniil@vyos.io> | 2021-02-28 05:24:21 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@vyos.io> | 2021-02-28 05:24:21 +0200 |
commit | 430084797b21873b342aa81c80f893f2329f5d49 (patch) | |
tree | b8e250d528ad9432d2c2c85ce488a23af66646aa /docker | |
parent | f6f2c1e18b25305acd057bfdf865f690b03aa478 (diff) | |
download | vyos-build-430084797b21873b342aa81c80f893f2329f5d49.tar.gz vyos-build-430084797b21873b342aa81c80f893f2329f5d49.zip |
Use a longer, more descriptive --no-setup opam option.
It disables user shell environment setup.
Diffstat (limited to 'docker')
-rw-r--r-- | docker/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index ef897f92..92e6aad9 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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 |