mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Configure apt to retry a few times on Docker image builder tasks
This commit is contained in:
parent
21a78816e9
commit
62049f5e89
2 changed files with 4 additions and 0 deletions
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue