forked from jumanjihouse/docker-ssllabs-scan
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add /etc/nsswitch.conf so container reads /etc/hosts
The golang resolver uses `/etc/nsswitch.conf` if it exists. See golang/go#22846 Resolves jumanjihouse#64
- Loading branch information
1 parent
2eb9f64
commit b9d88ea
Showing
6 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# https://github.com/golang/go/blob/go1.9.1/src/net/conf.go#L194-L275 | ||
# https://golang.org/pkg/net/ | ||
hosts: files dns |
File renamed without changes.