You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2024/08/27 10:00:52 UTC
(spark) 06/09: [SPARK-49402][PYTHON][FOLLOW-UP] Fix Binder integration in PySpark documentation
This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to tag v3.4.3
in repository https://gitbox.apache.org/repos/asf/spark.git
commit 1d82b0e9aff9704457654e7e95f7760138af8aa1
Author: Hyukjin Kwon <gu...@apache.org>
AuthorDate: Tue Aug 27 17:55:00 2024 +0900
[SPARK-49402][PYTHON][FOLLOW-UP] Fix Binder integration in PySpark documentation
Followup PR to change JRE version from 8 to 11
Authored-by: Hyukjin Kwon <gu...@apache.org>
Signed-off-by: Hyukjin Kwon <gu...@apache.org>
(cherry picked from commit 9fc1e05)
Signed-off-by: Hyukjin Kwon <gu...@apache.org>
---
binder/Dockerfile | 18 +++---------------
1 file changed, 3 insertions(+), 15 deletions(-)
diff --git a/binder/Dockerfile b/binder/Dockerfile
index 87a69fef69ce..daa9d2d76c39 100644
--- a/binder/Dockerfile
+++ b/binder/Dockerfile
@@ -38,21 +38,9 @@ USER root
RUN chown -R ${NB_UID} ${HOME}
# To solve add-apt-repository : command not found
-RUN apt-get update && apt-get -y install software-properties-common
-
-# Install Java
-RUN \
- echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections && \
- add-apt-repository -y ppa:webupd8team/java && \
- apt-get update && \
- apt-get install -y oracle-java8-installer --allow-unauthenticated && \
- rm -rf /var/lib/apt/lists/* && \
- rm -rf /var/cache/oracle-jdk8-installer
-
-# Define commonly used JAVA_HOME variable
-ENV JAVA_HOME /usr/lib/jvm/java-8-oracle
-
-RUN apt-get update && apt-get install -y git coreutils
+RUN apt-get update && apt-get install -y software-properties-common
+RUN add-apt-repository ppa:openjdk-r/ppa
+RUN apt-get update && apt-get install -y openjdk-8-jre git coreutils
USER ${NB_USER}
RUN binder/postBuild
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org