Configure apt to retry a few times on Docker image builder tasks

This commit is contained in:
Tim Wojtulewicz 2023-02-27 11:56:32 -07:00
parent 21a78816e9
commit 62049f5e89
2 changed files with 4 additions and 0 deletions

View file

@ -3,6 +3,8 @@
# Layer to build Zeek.
FROM debian:bullseye-slim
RUN echo 'Acquire::Retries "3";' > /etc/apt/apt.conf.d/80-retries
# Configure system for build.
RUN apt-get -q update \
&& apt-get install -q -y --no-install-recommends \

View file

@ -3,6 +3,8 @@
# Final layer containing all artifacts.
FROM debian:bullseye-slim
RUN echo 'Acquire::Retries "3";' > /etc/apt/apt.conf.d/80-retries
RUN apt-get -q update \
&& apt-get install -q -y --no-install-recommends \
ca-certificates \