Message ID | 20230207163119.292389-2-thomas.petazzoni@bootlin.com |
---|---|
State | Accepted |
Headers | show |
Series | [1/3] support/docker: update Debian distro to a newer tag/date | expand |
Thomas, All, On 2023-02-07 17:31 +0100, Thomas Petazzoni via buildroot spake thusly: > snapshot.debian.org is notoriously slow, and quite often leads to > timeouts when downloading packages. To give us a better chance of > succeeding, let's retry 3 times before failing. > > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Applied to master, thanks. Regards, Yann E. MORIN. > --- > support/docker/Dockerfile | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/support/docker/Dockerfile b/support/docker/Dockerfile > index de1534e77a..a16c1e3849 100644 > --- a/support/docker/Dockerfile > +++ b/support/docker/Dockerfile > @@ -20,8 +20,8 @@ COPY apt-sources.list /etc/apt/sources.list > > # The container has no package lists, so need to update first > RUN dpkg --add-architecture i386 && \ > - apt-get update -y > -RUN apt-get install -y --no-install-recommends \ > + apt-get -o APT::Retries=3 update -y > +RUN apt-get -o APT::Retries=3 install -y --no-install-recommends \ > bc \ > build-essential \ > bzr \ > -- > 2.38.1 > > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot
diff --git a/support/docker/Dockerfile b/support/docker/Dockerfile index de1534e77a..a16c1e3849 100644 --- a/support/docker/Dockerfile +++ b/support/docker/Dockerfile @@ -20,8 +20,8 @@ COPY apt-sources.list /etc/apt/sources.list # The container has no package lists, so need to update first RUN dpkg --add-architecture i386 && \ - apt-get update -y -RUN apt-get install -y --no-install-recommends \ + apt-get -o APT::Retries=3 update -y +RUN apt-get -o APT::Retries=3 install -y --no-install-recommends \ bc \ build-essential \ bzr \
snapshot.debian.org is notoriously slow, and quite often leads to timeouts when downloading packages. To give us a better chance of succeeding, let's retry 3 times before failing. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> --- support/docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)