alauda / captain

A Helm 3 Controller
Apache License 2.0
185 stars 46 forks source link

支持优先读取/etc/hosts文件 #87

Closed lin1005q closed 3 years ago

lin1005q commented 3 years ago

https://github.com/golang/go/issues/22846#issuecomment-346377144

use this Dockerfile test ok

FROM alaudapublic/captain:v1.3.0
RUN echo 'hosts: files dns' > /etc/nsswitch.conf