This is an automated email from the ASF dual-hosted git repository. jongyoul pushed a commit to branch branch-0.10 in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/branch-0.10 by this push: new fafcd7f5da [ZEPPELIN-5789] Update Dockerfile to use JDK instead of JRE (#4436) fafcd7f5da is described below commit fafcd7f5dae29f2c0525037ee80becea1f8f82c7 Author: Vishal Rao <vishal...@gmail.com> AuthorDate: Mon Aug 1 11:18:23 2022 +0530 [ZEPPELIN-5789] Update Dockerfile to use JDK instead of JRE (#4436) * Update Dockerfile to use JDK instead of JRE Fixes issues such as trying to add a new interpreter belonging to "jdbc" group having hive-jdbc conf results in missing dependencies (tools.jar) and such. * Add comment based on review. (cherry picked from commit 5e98f85d988b527b9d33eaede994c2cc4f6648bb) --- scripts/docker/zeppelin/bin/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/docker/zeppelin/bin/Dockerfile b/scripts/docker/zeppelin/bin/Dockerfile index 8deb91cc02..d51dfeee68 100644 --- a/scripts/docker/zeppelin/bin/Dockerfile +++ b/scripts/docker/zeppelin/bin/Dockerfile @@ -29,7 +29,8 @@ ENV LOG_TAG="[ZEPPELIN_${Z_VERSION}]:" \ RUN echo "$LOG_TAG install basic packages" && \ apt-get -y update && \ - DEBIAN_FRONTEND=noninteractive apt-get install -y locales language-pack-en tini openjdk-8-jre-headless wget unzip && \ + # 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 && \ # Cleanup rm -rf /var/lib/apt/lists/* && \ apt-get autoclean && \