Skip to content

Commit db1637a

Browse files
authored
GODRIVER-3150 Make Docker Test More Robust (#1576)
1 parent c163de4 commit db1637a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
4646
export TZ=Etc/UTC && \
4747
export LC_ALL=C.UTF-8 && \
4848
sudo -E apt-add-repository "ppa:longsleep/golang-backports" && \
49-
apt-get -qq update && \
50-
apt-get -qqy install --no-install-recommends golang-go && \
49+
apt-get -qq update --option Acquire::Retries=100 --option Acquire::http::Timeout="60" && \
50+
apt-get -qqy install --option Acquire::Retries=100 --option Acquire::http::Timeout="60" --no-install-recommends golang-go && \
5151
rm -rf /var/lib/apt/lists/*
5252

5353
COPY ./etc/docker_entry.sh /root/docker_entry.sh

0 commit comments

Comments
 (0)