[
https://issues.apache.org/jira/browse/HADOOP-19659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18016193#comment-18016193
]
ASF GitHub Bot commented on HADOOP-19659:
-----------------------------------------
pan3793 commented on code in PR #7898:
URL: https://github.com/apache/hadoop/pull/7898#discussion_r2299802155
##########
start-build-env.sh:
##########
@@ -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}"
Review Comment:
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)
```
> Upgrade Debian 10 to 11 in build env Dockerfile
> -----------------------------------------------
>
> Key: HADOOP-19659
> URL: https://issues.apache.org/jira/browse/HADOOP-19659
> Project: Hadoop Common
> Issue Type: Improvement
> Components: build
> Affects Versions: 3.5.0
> Reporter: Cheng Pan
> Priority: Major
> Labels: pull-request-available
>
> Debian 10 EOL, and the apt repo is unavailable
> {code:bash}
> docker run --rm -it debian:10 bash
> root@bc2a4c509cb3:/# apt update
> Ign:1 http://deb.debian.org/debian buster InRelease
> Ign:2 http://deb.debian.org/debian-security buster/updates InRelease
> Ign:3 http://deb.debian.org/debian buster-updates InRelease
> Err:4 http://deb.debian.org/debian buster Release
> 404 Not Found [IP: 151.101.90.132 80]
> Err:5 http://deb.debian.org/debian-security buster/updates Release
> 404 Not Found [IP: 151.101.90.132 80]
> Err:6 http://deb.debian.org/debian buster-updates Release
> 404 Not Found [IP: 151.101.90.132 80]
> Reading package lists... Done
> E: The repository 'http://deb.debian.org/debian buster Release' does not have
> a Release file.
> N: Updating from such a repository can't be done securely, and is therefore
> disabled by default.
> N: See apt-secure(8) manpage for repository creation and user configuration
> details.
> E: The repository 'http://deb.debian.org/debian-security buster/updates
> Release' does not have a Release file.
> N: Updating from such a repository can't be done securely, and is therefore
> disabled by default.
> N: See apt-secure(8) manpage for repository creation and user configuration
> details.
> E: The repository 'http://deb.debian.org/debian buster-updates Release' does
> not have a Release file.
> N: Updating from such a repository can't be done securely, and is therefore
> disabled by default.
> N: See apt-secure(8) manpage for repository creation and user configuration
> details.
> root@bc2a4c509cb3:/#
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]