-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
docker: remove nsswitch.conf #15155
docker: remove nsswitch.conf #15155
Conversation
daf9db6
to
38ea543
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simplifying dockerfiles has been on my mind for long time. Thanks for looking into this! |
@ahrtr There is no need to backport this. This is more of a cleanup. Let's not backport cleanups. I doesn't benefit older releases and would only confuse users reading changelog. |
Actually it's a minor issue (introduced in one of my previous PRs) to me. There are two duplicate keys "hosts", see line 21 and line 12. Line 21 in 215b53c
Line 12 in 215b53c
I suggest to backport the PR. |
Since 3.4.24 isn't released yet, and so no need to update the changelog for 3.4. Note all dockerfile/nsswitch.conf changes will only be included in 3.4.24. I agree we need to update 3.5 changelog after backporting. |
PRs created |
Please also add a changelog item for 3.5 in CHANGELOG-3.5.md. Since the PR adding |
Codecov Report
@@ Coverage Diff @@
## main #15155 +/- ##
==========================================
- Coverage 74.93% 74.57% -0.36%
==========================================
Files 415 415
Lines 34326 34326
==========================================
- Hits 25721 25598 -123
- Misses 6986 7089 +103
- Partials 1619 1639 +20
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
3.5.7 is already released, so please add the item to 3.5.8. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rebase this PR and resolve the comment for changelog
1fc2a9e
to
662a4c1
Compare
Please squash the commits into one. |
@iavael please resolve the conflict and squash the commits. |
e76d7a9
to
9278066
Compare
There is still conflict. |
Co-authored-by: Benjamin Wang <wachao@vmware.com> Signed-off-by: Iavael <905853+iavael@users.noreply.github.com>
9278066
to
9ce2b15
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @iavael
Since docker images are not alpine-based anymore and do support nss, nsswitch.conf hack is not required anymore