summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2021-02-28 10:22:11 +0700
committerGitHub <noreply@github.com>2021-02-28 10:22:11 +0700
commitf6f2c1e18b25305acd057bfdf865f690b03aa478 (patch)
treee03d9ba51372c27623926f37cfda3bf09891a8f9
parente1953f210eeb0e523bd7f142e453061a72939d72 (diff)
parenta08dab340ffaed58766c900f2176a91f1188bc6e (diff)
downloadvyos-build-f6f2c1e18b25305acd057bfdf865f690b03aa478.tar.gz
vyos-build-f6f2c1e18b25305acd057bfdf865f690b03aa478.zip
Merge pull request #148 from Codecasaurus/docker-build-opam
Docker: T3363: ensure prompts are answered
-rw-r--r--docker/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 03995d9b..ef897f92 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
+ opam init --root=/opt/opam --comp=4.09.1 --disable-sandboxing -n
RUN eval $(opam env --root=/opt/opam --set-root) && opam install -y \
pcre re