From: Vladimír Čunát Date: Mon, 1 Jun 2026 14:10:45 +0000 (+0200) Subject: Dockerfile: Debian 12 -> 13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b218a9ba60d3e1c3d206d9e10ee225a6e20e4e6b;p=thirdparty%2Fknot-resolver.git Dockerfile: Debian 12 -> 13 Debian 12 transitions to LTS on June 11, 2026. I'd say it's a good time to bump this default to 13, released since August 9, 2025. --- diff --git a/Dockerfile b/Dockerfile index cc5e5ad96..8018bd258 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ # SPDX-License-Identifier: GPL-3.0-or-later # Intermediate container for build -FROM debian:12 AS build +FROM debian:13 AS build ENV OBS_REPO=knot-resolver-latest -ENV DISTROTEST_REPO=Debian_12 +ENV DISTROTEST_REPO=Debian_13 RUN apt-get update -qq && \ apt-get -qqq -y install \ @@ -13,7 +13,7 @@ RUN apt-get update -qq && \ pipx install apkg RUN wget -O /usr/share/keyrings/cznic-labs-pkg.gpg https://pkg.labs.nic.cz/gpg && \ - echo "deb [signed-by=/usr/share/keyrings/cznic-labs-pkg.gpg] https://pkg.labs.nic.cz/knot-resolver bookworm main" \ + echo "deb [signed-by=/usr/share/keyrings/cznic-labs-pkg.gpg] https://pkg.labs.nic.cz/knot-resolver trixie main" \ > /etc/apt/sources.list.d/cznic-labs-knot-resolver.list && \ apt-get update -qq @@ -38,10 +38,10 @@ RUN cd /source && \ /root/.local/bin/apkg build # Real container -FROM debian:12-slim AS runtime +FROM debian:13-slim AS runtime ENV OBS_REPO=knot-resolver-latest -ENV DISTROTEST_REPO=Debian_12 +ENV DISTROTEST_REPO=Debian_13 RUN apt-get update -qq && \ apt-get -qqq -y install apt-transport-https ca-certificates @@ -56,7 +56,7 @@ COPY --from=build \ RUN apt-get update -qq && \ apt-get upgrade -qq -COPY --from=build /source/pkg/pkgs/debian-12 /pkg +COPY --from=build /source/pkg/pkgs/debian-13 /pkg # install resolver, minimize image and prepare config directory RUN apt-get install -y /pkg/*/*.deb && \