Retry 5 times to acquire files.

This commit is contained in:
Greyscale 2020-03-17 18:03:27 +01:00
parent 8d48468ce2
commit c52ab1f530

View file

@ -25,7 +25,8 @@ FROM marshall AS php-core
ARG PHP_PACKAGES
COPY php-core/install-report.sh /usr/bin/install-report
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN apt-get -qq update && \
RUN echo "APT::Acquire::Retries \"5\";" > /etc/apt/apt.conf.d/80-retries && \
apt-get -qq update && \
apt-get -yqq install --no-install-recommends \
python3-software-properties \
software-properties-common \