Skip to content

Commit

Permalink
[TOREE-538] Properly set java on docker image to support ARM platform (
Browse files Browse the repository at this point in the history
  • Loading branch information
pan3793 authored Aug 7, 2023
1 parent 85690d7 commit e107378
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile.toree-dev
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ RUN apt-get -y update && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
update-ca-certificates -f && \
update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
JAVA_8=`update-alternatives --list java | grep java-8-openjdk` && \
update-alternatives --set java $JAVA_8

# Installing Spark3
RUN cd /tmp && \
Expand Down

0 comments on commit e107378

Please sign in to comment.