docker: remove nsswitch.conf

Signed-off-by: Iavael <905853+iavael@users.noreply.github.com>
This commit is contained in:
Iavael
2023-01-21 00:55:44 +04:00
committed by Benjamin Wang
parent e4b154231c
commit d2fc8dbeeb
3 changed files with 0 additions and 29 deletions

View File

@@ -6,11 +6,6 @@ ADD etcdctl /usr/local/bin/
WORKDIR /var/etcd/
WORKDIR /var/lib/etcd/
# Alpine Linux doesn't use pam, which means that there is no /etc/nsswitch.conf,
# but Golang relies on /etc/nsswitch.conf to check the order of DNS resolving
# (see https://github.com/golang/go/commit/9dee7771f561cf6aee081c0af6658cc81fac3918)
ADD nsswitch.conf /etc/nsswitch.conf
EXPOSE 2379 2380
# Define default command.