-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
base: HADOOP-19661
Are you sure you want to change the base?
Conversation
start-build-env.sh
Outdated
@@ -93,7 +93,7 @@ RUN userdel -r \$(getent passwd ${USER_ID} | cut -d: -f1) 2>/dev/null || : | |||
RUN groupadd --non-unique -g ${GROUP_ID} ${USER_NAME} | |||
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. |
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. |
Description of PR
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-jdk
in the apt repo.How was this patch tested?
For code changes:
LICENSE
,LICENSE-binary
,NOTICE-binary
files?