-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
HBASE-28618: Fixed hadolint check in nightly build. #5957
Conversation
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
Does this work for normal x86 platforms? |
I believe you mean the 'hadolint' command on the x86 platform. It should work, although I haven't tested it since my laptop uses an M3 processor. |
I mean if we could merge the two Dockerfile... We introduce a new Dockerfile for m1 since we use a different from I believe, could we just merge it back after this change? |
This change is a minor one for fixing the 'hadolint' command. We may need to support multi-platform docker images, as mentioned by @ndimiduk in HBASE-27915 comments |
@wchevreuil @taklwu Please verify this on M1 mac? Thanks. |
Yes, it does work for me. However, since @ndimiduk pointed out in HBASE-27915, shouldn't we revert this extra Dockerfile and do a single file for multiple platforms? |
I'm OK with merging this first to fix the nightly failures, and then open a new issue to merge these two dockerfiles. Or if it is trivial to merge these two dockerfiles, we can do it in this PR too. |
Ok, let me merge this to fix the hadolint check, @subrat-mishra will open a new PR with the single docker file solution. |
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org> Reviewed-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org> Reviewed-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org> Reviewed-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org> Reviewed-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org> Reviewed-by: Duo Zhang <zhangduo@apache.org>
Tested hadolint and verified that it doesn't throw any error.