Remove orphaned build/nsswitch.conf

This file was added in 2018 (PR #69238) to ensure Go's netgo DNS
resolver respects /etc/hosts in busybox-based control plane images.

In 2021 (PR #99015), the build switched to on-disk Dockerfiles and
distroless base images. The nsswitch.conf copying was dropped and
the distroless base (Debian-based) already includes /etc/nsswitch.conf.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
Davanum Srinivas 2025-12-20 22:40:27 -05:00
parent dce2e8cef7
commit 7d8ce09dd1
No known key found for this signature in database
GPG key ID: 6DEA177048756885

View file

@ -1,2 +0,0 @@
# ensure go's non-cgo resolver respects /etc/hosts
hosts: files dns