CI: Add more logging during docker builds

This commit is contained in:
Tim Wojtulewicz 2023-10-12 15:00:52 -07:00
parent 2d8e7368ae
commit 3d1380305b
3 changed files with 9 additions and 0 deletions

View file

@ -3,6 +3,10 @@
# Layer to build Zeek.
FROM debian:bookworm-slim
# Make the shell split commands in the log so we can determine reasons for
# failures more easily.
SHELL ["/bin/sh", "-x", "-c"]
# Allow apt to retry 3 times before failing.
RUN echo 'Acquire::Retries "3";' > /etc/apt/apt.conf.d/80-retries

View file

@ -3,6 +3,10 @@
# Final layer containing all artifacts.
FROM debian:bookworm-slim
# Make the shell split commands in the log so we can determine reasons for
# failures more easily.
SHELL ["/bin/sh", "-x", "-c"]
# Allow apt to retry 3 times before failing.
RUN echo 'Acquire::Retries "3";' > /etc/apt/apt.conf.d/80-retries