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 d278e81103cb9e5391e76295af7beeb200901088 Author: Hyukjin Kwon <[email protected]> AuthorDate: Tue Aug 27 17:36:47 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 <[email protected]> Signed-off-by: Hyukjin Kwon <[email protected]> (cherry picked from commit 9fc1e05) Signed-off-by: Hyukjin Kwon <[email protected]> --- binder/Dockerfile | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/binder/Dockerfile b/binder/Dockerfile index b91ca1dce0d9..ac6a77b8cda0 100644 --- a/binder/Dockerfile +++ b/binder/Dockerfile @@ -36,8 +36,23 @@ USER ${USER} COPY . ${HOME} USER root RUN chown -R ${NB_UID} ${HOME} -RUN add-apt-repository ppa:openjdk-r/ppa -RUN apt-get update && apt-get install -y openjdk-11-jre git coreutils + +# To solve add-apt-repository : command not found +RUN 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 USER ${NB_USER} RUN binder/postBuild --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
