]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
Dockerfile: Debian 12 -> 13 docs-docker-debia-gyyb11/deployments/9212 docker-debian
authorVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 1 Jun 2026 14:10:45 +0000 (16:10 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 1 Jun 2026 14:13:32 +0000 (16:13 +0200)
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.

Dockerfile

index cc5e5ad969cebee63feebf5585f27d1e3fe345bf..8018bd258dffa9ade088e324c0b978200bcccf18 100644 (file)
@@ -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 && \