Skip to content

Commit

Permalink
update scripts/docker/zeppelin/bin/Dockerfile to JDK11 (apache#4753)
Browse files Browse the repository at this point in the history
* update scripts/docker/zeppelin/bin/Dockerfile to JDK11

* update miniconda to py3.9

* Update Dockerfile to remove extra line

(cherry picked from commit b61bfb5)
  • Loading branch information
flowy0 authored and jongyoul committed Sep 4, 2024
1 parent b8adb0a commit 7128f7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/docker/zeppelin/bin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ ENV LOG_TAG="[ZEPPELIN_${Z_VERSION}]:" \
HOME="/opt/zeppelin" \
LANG=en_US.UTF-8 \
LC_ALL=en_US.UTF-8 \
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 \
JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 \
ZEPPELIN_ADDR="0.0.0.0"

RUN echo "$LOG_TAG install basic packages" && \
apt-get -y update && \
# Switch back to install JRE instead of JDK when moving to JDK9 or later.
DEBIAN_FRONTEND=noninteractive apt-get install -y locales language-pack-en tini openjdk-8-jdk-headless wget unzip && \
DEBIAN_FRONTEND=noninteractive apt-get install -y locales language-pack-en tini openjdk-11-jdk-headless wget unzip && \
# Cleanup
rm -rf /var/lib/apt/lists/* && \
apt-get autoclean && \
Expand Down

0 comments on commit 7128f7d

Please sign in to comment.