build: install bind9-dnsutils instead of the virtual dnsutils - #496
Merged
Conversation
dig lives in bind9-dnsutils since the bind9 9.16 packaging split. On the image's own base, debian:13-slim, `dnsutils` is only a virtual package -- `apt-cache policy dnsutils` reports no candidate at all. It installs today purely because apt resolves a virtual package when exactly one package provides it, and bind9-dnsutils happens to be the only provider; a second provider, or Debian dropping the Provides, turns the image build into "Package 'dnsutils' has no installation candidate". Names the real package instead, matching what the deb already depends on. bind9-dnsutils is available on every release we care about, back to Debian 11 and Ubuntu 20.04.
|
Claude finished @joshiste's task in 24s —— View job Review of PR #496
No unresolved prior review threads to address. Change: This is correct and low-risk:
Nothing else to flag. |
joshiste
enabled auto-merge (squash)
August 18, 2026 14:59
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What
The runtime image installs
dnsutilsto getdig. Since the bind9 9.16 packaging split,diglives inbind9-dnsutils— which is what the deb package already depends on (.goreleaser.yaml). This aligns the Dockerfile with it. Same change as steadybit/extension-host#249.Why it matters
On the image's own base,
debian:13-slim,dnsutilsis a pure virtual package:apt-get install dnsutilsworks there only because apt resolves a virtual package when exactly one package provides it, andbind9-dnsutilsis currently the sole provider (apt-get install -s dnsutilsconfirms that is what gets pulled). A second provider appearing, or Debian dropping theProvides, turns the build intoPackage 'dnsutils' has no installation candidate.Compatibility
bind9-dnsutilsis a real, versioned package everywhere still supported — checked by querying apt in each image:bind9-dnsutilsdnsutilsOnly Debian 10 / Ubuntu 18.04 ever had
dnsutilsalone, and both are long EOL.Verification
Installed the full new package list in
debian:13-slimand confirmed every binary the extension execs is present:dig→/usr/bin/dig, plusip,tc,iptables-restore,fallocate,capsh,stress-ng.No runtime behaviour change — the same package ends up installed either way today. Prefixed
build:so it doesn't trigger a patch release on its own.