From 2fb26c2f15e27b97d88211857aeb7d6338f5a69c Mon Sep 17 00:00:00 2001 From: Arne Welzel Date: Tue, 13 Jun 2023 15:32:23 +0200 Subject: [PATCH] docker: Bump images to Debian 12 --- docker/builder.Dockerfile | 7 +++++-- docker/final.Dockerfile | 6 +++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/docker/builder.Dockerfile b/docker/builder.Dockerfile index 5352c48938..b0a4c8f332 100644 --- a/docker/builder.Dockerfile +++ b/docker/builder.Dockerfile @@ -1,7 +1,7 @@ # See the file "COPYING" in the main distribution directory for copyright. # Layer to build Zeek. -FROM debian:bullseye-slim +FROM debian:bookworm-slim RUN echo 'Acquire::Retries "3";' > /etc/apt/apt.conf.d/80-retries @@ -24,9 +24,12 @@ RUN apt-get -q update \ libz-dev \ make \ python3-minimal \ - python3.9-dev \ + python3.11-dev \ swig \ ninja-build \ python3-pip \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* + +# Tell git all the repositories are safe. +RUN git config --global --add safe.directory '*' diff --git a/docker/final.Dockerfile b/docker/final.Dockerfile index ca2db566cb..110a9c8b74 100644 --- a/docker/final.Dockerfile +++ b/docker/final.Dockerfile @@ -1,7 +1,7 @@ # See the file "COPYING" in the main distribution directory for copyright. # Final layer containing all artifacts. -FROM debian:bullseye-slim +FROM debian:bookworm-slim RUN echo 'Acquire::Retries "3";' > /etc/apt/apt.conf.d/80-retries @@ -10,9 +10,9 @@ RUN apt-get -q update \ ca-certificates \ git \ libmaxminddb0 \ - libpython3.9 \ + libpython3.11 \ libpcap0.8 \ - libssl1.1 \ + libssl3 \ libz1 \ python3-minimal \ python3-git \