mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
CI: Add more logging during docker builds
This commit is contained in:
parent
2d8e7368ae
commit
3d1380305b
3 changed files with 9 additions and 0 deletions
|
@ -496,6 +496,7 @@ docker_build_template: &DOCKER_BUILD_TEMPLATE
|
||||||
CIRRUS_LOG_TIMESTAMP: true
|
CIRRUS_LOG_TIMESTAMP: true
|
||||||
BUILDER_IMAGE_CACHE_DIR: /tmp/builder-image-cache
|
BUILDER_IMAGE_CACHE_DIR: /tmp/builder-image-cache
|
||||||
ZEEK_IMAGE_CACHE_DIR: /tmp/zeek-image-cache-${CIRRUS_ARCH}
|
ZEEK_IMAGE_CACHE_DIR: /tmp/zeek-image-cache-${CIRRUS_ARCH}
|
||||||
|
BUILDKIT_PROGRESS: plain
|
||||||
|
|
||||||
always:
|
always:
|
||||||
ccache_cache:
|
ccache_cache:
|
||||||
|
|
|
@ -3,6 +3,10 @@
|
||||||
# Layer to build Zeek.
|
# Layer to build Zeek.
|
||||||
FROM debian:bookworm-slim
|
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.
|
# Allow apt to retry 3 times before failing.
|
||||||
RUN echo 'Acquire::Retries "3";' > /etc/apt/apt.conf.d/80-retries
|
RUN echo 'Acquire::Retries "3";' > /etc/apt/apt.conf.d/80-retries
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,10 @@
|
||||||
# Final layer containing all artifacts.
|
# Final layer containing all artifacts.
|
||||||
FROM debian:bookworm-slim
|
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.
|
# Allow apt to retry 3 times before failing.
|
||||||
RUN echo 'Acquire::Retries "3";' > /etc/apt/apt.conf.d/80-retries
|
RUN echo 'Acquire::Retries "3";' > /etc/apt/apt.conf.d/80-retries
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue