You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by jo...@apache.org on 2022/08/01 05:48:29 UTC
[zeppelin] branch master updated: [ZEPPELIN-5789] Update Dockerfile to use JDK instead of JRE (#4436)
This is an automated email from the ASF dual-hosted git repository.
jongyoul pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/master by this push:
new 5e98f85d98 [ZEPPELIN-5789] Update Dockerfile to use JDK instead of JRE (#4436)
5e98f85d98 is described below
commit 5e98f85d988b527b9d33eaede994c2cc4f6648bb
Author: Vishal Rao <vi...@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.
---
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 dab26bd221..5b82b9ad05 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 && \