From 4e3b2a15cfe496aa28538df393bd8a31bd471733 Mon Sep 17 00:00:00 2001 From: Matthew Baggett Date: Fri, 22 Jan 2021 04:46:31 +0100 Subject: [PATCH] Prevent cache/pipelining issues. --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 92d6557..a73bc0a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,6 +27,8 @@ ARG PHP_PACKAGES COPY php-core/install-report.sh /usr/bin/install-report SHELL ["/bin/bash", "-o", "pipefail", "-c"] RUN echo "APT::Acquire::Retries \"5\";" > /etc/apt/apt.conf.d/80-retries && \ + echo "Acquire::http::No-Cache=true;" > /etc/apt/apt.conf.d/80-no-cache && \ + echo "Acquire::http::Pipeline-Depth=0;" > /etc/apt/apt.conf.d/80-no-pipeline && \ apt-get -qq update && \ apt-get -yqq install --no-install-recommends \ python3-software-properties \