docker: Bump images to Debian 12

This commit is contained in:
Arne Welzel 2023-06-13 15:32:23 +02:00
parent f53aefdd5b
commit 2fb26c2f15
2 changed files with 8 additions and 5 deletions

View file

@ -1,7 +1,7 @@
# See the file "COPYING" in the main distribution directory for copyright. # See the file "COPYING" in the main distribution directory for copyright.
# Layer to build Zeek. # Layer to build Zeek.
FROM debian:bullseye-slim FROM debian:bookworm-slim
RUN echo 'Acquire::Retries "3";' > /etc/apt/apt.conf.d/80-retries RUN echo 'Acquire::Retries "3";' > /etc/apt/apt.conf.d/80-retries
@ -24,9 +24,12 @@ RUN apt-get -q update \
libz-dev \ libz-dev \
make \ make \
python3-minimal \ python3-minimal \
python3.9-dev \ python3.11-dev \
swig \ swig \
ninja-build \ ninja-build \
python3-pip \ python3-pip \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Tell git all the repositories are safe.
RUN git config --global --add safe.directory '*'

View file

@ -1,7 +1,7 @@
# See the file "COPYING" in the main distribution directory for copyright. # See the file "COPYING" in the main distribution directory for copyright.
# Final layer containing all artifacts. # 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 RUN echo 'Acquire::Retries "3";' > /etc/apt/apt.conf.d/80-retries
@ -10,9 +10,9 @@ RUN apt-get -q update \
ca-certificates \ ca-certificates \
git \ git \
libmaxminddb0 \ libmaxminddb0 \
libpython3.9 \ libpython3.11 \
libpcap0.8 \ libpcap0.8 \
libssl1.1 \ libssl3 \
libz1 \ libz1 \
python3-minimal \ python3-minimal \
python3-git \ python3-git \