Skip to content

Commit

Permalink
dnsdist: Switch to Debian 12 for our Docker image, enable XSK
Browse files Browse the repository at this point in the history
  • Loading branch information
rgacogne committed Jan 23, 2024
1 parent 1e48acc commit 2624fc3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile-dnsdist
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# our chosen base image
FROM debian:11-slim AS builder
FROM debian:12-slim AS builder

ENV NO_LUA_JIT="s390x arm64"

Expand All @@ -14,7 +14,7 @@ RUN apt-get update && apt-get -y dist-upgrade && apt-get install -y --no-instal
COPY builder-support /source/builder-support

# TODO: control file is not in tarballs at all right now
RUN mk-build-deps -i -t 'apt-get -y -o Debug::pkgProblemResolver=yes --no-install-recommends' /source/builder-support/debian/dnsdist/debian-buster/control && \
RUN mk-build-deps -i -t 'apt-get -y -o Debug::pkgProblemResolver=yes --no-install-recommends' /source/builder-support/debian/dnsdist/debian-bookworm/control && \
apt-get clean

COPY pdns /source/pdns
Expand Down Expand Up @@ -84,7 +84,7 @@ RUN cd /tmp && mkdir /build/tmp/ && mkdir debian && \

# Runtime

FROM debian:11-slim
FROM debian:12-slim

# Reusable layer for base update - Should be cached from builder
RUN apt-get update && apt-get -y dist-upgrade && apt-get clean
Expand Down

0 comments on commit 2624fc3

Please sign in to comment.