Retry 5 times to acquire files.
This commit is contained in:
parent
8d48468ce2
commit
c52ab1f530
1 changed files with 2 additions and 1 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Reference in a new issue