-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HADOOP-19659. Upgrade Debian 10 to 11 in build env Dockerfile #7898
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
Conversation
| RUN useradd -g ${GROUP_ID} -u ${USER_ID} -k /root -m ${USER_NAME} -d "${DOCKER_HOME_DIR}" | ||
| RUN echo "${USER_NAME} ALL=NOPASSWD: ALL" > "/etc/sudoers.d/hadoop-build-${USER_ID}" | ||
| ENV HOME "${DOCKER_HOME_DIR}" | ||
| ENV HOME="${DOCKER_HOME_DIR}" |
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.
update because
1 warning found (use docker --debug to expand):
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 7)
|
LGTM. |
|
💔 -1 overall
This message was automatically generated. |
slfan1989
left a comment
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.
We need to solve the compilation error issue.
The building error occurs on CentOS 8 stage, looks like I need to fix it first |
|
💔 -1 overall
This message was automatically generated. |
|
(!) A patch to the testing environment has been detected. |
|
💔 -1 overall
This message was automatically generated. |
|
I think it would be useful to run at least the native (C code) tests. |
|
💔 -1 overall
This message was automatically generated. |
| @Override | ||
| protected CommandExecutor.Result execute(CLICommand cmd) throws Exception { | ||
| return cmd.getExecutor("", conf).executeCommand(cmd.getCmd()); | ||
|
|
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.
The changes in Debian are as expected, and we can roll back the modifications to this unit as they are unrelated to our main changes.
|
@slfan1989, unnecessary changes are reverted, should be good to go |
@pan3793 Thank you for your contribution, LGTM. I will merge this PR soon. |
|
💔 -1 overall
This message was automatically generated. |
|
@pan3793 Thanks for the contribution! Merged into trunk. |
Description of PR
HADOOP-19659. Upgrade Debian 10 to 11 in build env Dockerfile.
Debian 10 EOL, and the apt repo is unavailable, this PR upgrades it to Debian 11
Debian 11 will be EOL after 31 Aug 2026. I didn't switch it to Debian 12 or 13 because the new version does not have
openjdk-11-jdkin the apt repo.How was this patch tested?
For code changes:
LICENSE,LICENSE-binary,NOTICE-binaryfiles?