HADOOP-15018. Update JAVA_HOME in create-release for Xenial Dockerfile.
(cherry picked from commit 51e882d5c9fd2f55cd9ac2eafd3e59eb4f239d9d)
This commit is contained in:
parent
4e7b5824b4
commit
47f2db2c7d
@ -489,9 +489,9 @@ function dockermode
|
||||
echo "RUN mkdir -p /maven"
|
||||
echo "RUN chown -R ${user_name} /maven"
|
||||
|
||||
# we always force build with the Oracle JDK
|
||||
# we always force build with the OpenJDK JDK
|
||||
# but with the correct version
|
||||
echo "ENV JAVA_HOME /usr/lib/jvm/java-${JVM_VERSION}-oracle"
|
||||
echo "ENV JAVA_HOME /usr/lib/jvm/java-${JVM_VERSION}-openjdk-amd64"
|
||||
echo "USER ${user_name}"
|
||||
printf "\n\n"
|
||||
) | docker build -t "${imgname}" -
|
||||
|
Loading…
x
Reference in New Issue
Block a user