Prevent cache/pipelining issues.
This commit is contained in:
parent
a7049244a5
commit
4e3b2a15cf
1 changed files with 2 additions and 0 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Reference in a new issue