|
@@ -25,6 +25,9 @@ RUN sed -i 's#archive.ubuntu.com#mirrors.aliyun.com#g' /etc/apt/sources.list \
|
|
|
&& sed -i 's#security.ubuntu.com#mirrors.aliyun.com#g' /etc/apt/sources.list
|
|
|
|
|
|
COPY --from=builder-cdh /usr/hadoop-3.0.0/ /usr/hadoop-3.0.0/
|
|
|
+# JAVAHOME
|
|
|
+COPY --from=builder-cdh /usr/jdk1.8.0_202 /usr/jdk1.8.0_202
|
|
|
+ENV JAVA_HOME=/usr/jdk1.8.0_202
|
|
|
|
|
|
# FROM gettyimages/spark:2.4.0-hadoop-3.0 as builder
|
|
|
# RUN sed -i "s@http://\(deb\|security\).debian.org@http://mirrors.163.com@g" /etc/apt/sources.list
|