summaryrefslogtreecommitdiff
path: root/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 94b30725..40d1fd53 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -84,7 +84,8 @@ RUN apt-get update && apt-get install -y \
libffi-dev \
libpcre3-dev
-RUN curl https://raw.githubusercontent.com/ocaml/opam/2.0.2/shell/install.sh --output /tmp/opam_install.sh && \
+RUN curl https://raw.githubusercontent.com/ocaml/opam/2.0.2/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.08.0 --disable-sandboxing