Skip to content

Commit

Permalink
[SPARK-49402][PYTHON][FOLLOW-UP] Fix Binder integration in PySpark do…
Browse files Browse the repository at this point in the history
…cumentation

Followup PR to change JRE version from 8 to 11

Authored-by: Hyukjin Kwon <gurwls223@apache.org>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit 9fc1e05)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
  • Loading branch information
HyukjinKwon committed Aug 27, 2024
1 parent 1fd3265 commit 1d82b0e
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions binder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1d82b0e

Please sign in to comment.