Skip to content

Commit

Permalink
update scripts/docker/zeppelin/bin/Dockerfile to JDK11 (#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
  • Loading branch information
flowy0 authored Apr 12, 2024
1 parent df865f0 commit b61bfb5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/docker/zeppelin/bin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,22 @@ 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 && \
apt-get clean

# Install conda to manage python and R packages
ARG miniconda_version="py37_4.9.2"
ARG miniconda_version="py39_24.1.2-0"
# Hashes via https://docs.conda.io/en/latest/miniconda_hashes.html
ARG miniconda_sha256="79510c6e7bd9e012856e25dcb21b3e093aa4ac8113d9aa7e82a86987eabe1c31"
ARG miniconda_sha256="2ec135e4ae2154bb41e8df9ecac7ef23a7d6ca59fc1c8071cfe5298505c19140"
# Install python and R packages via conda
COPY env_python_3_with_R.yml /env_python_3_with_R.yml

Expand Down

0 comments on commit b61bfb5

Please sign in to comment.