ZhendongBai commented on a change in pull request #3349:
URL: https://github.com/apache/hadoop/pull/3349#discussion_r699245810
##########
File path: dev-support/docker/Dockerfile
##########
@@ -18,234 +17,80 @@
# Dockerfile for installing the necessary dependencies for building Hadoop.
# See BUILDING.txt.
-FROM ubuntu:xenial
+FROM centos:7
Review comment:
@GauthamBanasandra for ubuntu, openjdk-7 not found installation
candidate, the error shows as bellow:
```
.....
ERROR [ 8/27] RUN apt-get -q update && apt-get -q install -y
--no-install-recommends openjdk-7-jdk && apt-get clean && rm -rf
/var/lib/apt/lists/*
#11 94.95 Get:20 http://archive.ubuntu.com/ubuntu xenial-backports/universe
amd64 Packages [12.7 kB]
#11 95.07 Fetched 19.4 MB in 1min 34s (205 kB/s)
#11 95.07 Reading package lists...
#11 95.99 Reading package lists...
#11 96.88 Building dependency tree...
#11 97.02 Reading state information...
#11 97.04 Package openjdk-7-jdk is not available, but is referred to by
another package.
#11 97.04 This may mean that the package is missing, has been obsoleted, or
#11 97.04 is only available from another source
#11 97.04
#11 97.04 E: Package 'openjdk-7-jdk' has no installation candidate
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]