Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skip mounting resolv.conf for the docker runner #1101

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

joshrwolf
Copy link
Contributor

@joshrwolf joshrwolf commented Mar 21, 2024

we've been improperly mounting in the hosts /etc/resolv.conf forever, and have gotten away with it because some systems (docker desktop) works okay because the nameserver still resolves, but does not on others.

this ignores /etc/resolv.conf for the docker runner so we just fallback to letting docker manage its own /etc/resolv.conf

this should fix the could not resolve host: ... errors we've been seeing in GHA everytime we try to migrate to --runner docker

Signed-off-by: Josh Wolf <josh@wolfs.io>
@joshrwolf joshrwolf force-pushed the skip-resolv-docker branch from f03ce30 to 5d16869 Compare March 21, 2024 14:38
@imjasonh imjasonh merged commit 165db39 into chainguard-dev:main Mar 21, 2024
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants