You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by pd...@apache.org on 2020/07/29 10:44:27 UTC

[zeppelin] 01/01: Fix download of additional interpreter packages

This is an automated email from the ASF dual-hosted git repository.

pdallig pushed a commit to branch three_images
in repository https://gitbox.apache.org/repos/asf/zeppelin.git

commit 86c4d4e13816f9d23bebde88a51bd7a49ccc96a5
Author: Philipp Dallig <ph...@gmail.com>
AuthorDate: Wed Jul 29 12:43:38 2020 +0200

    Fix download of additional interpreter packages
---
 scripts/docker/zeppelin-server/Dockerfile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/scripts/docker/zeppelin-server/Dockerfile b/scripts/docker/zeppelin-server/Dockerfile
index 68d103d..75de881 100644
--- a/scripts/docker/zeppelin-server/Dockerfile
+++ b/scripts/docker/zeppelin-server/Dockerfile
@@ -59,7 +59,6 @@ ENV LANG=en_US.UTF-8 \
     Z_HOME="/opt/zeppelin" \
     ZEPPELIN_ADDR="0.0.0.0" \
     ZEPPELIN_WAR_TEMPDIR="/tmp/webapps" \
-    ZEPPELIN_DEP_LOCALREPO="/tmp/local-repo"
 
 # Copy Zeppelin related files
 COPY --from=zeppelin-distribution /opt/zeppelin/zeppelin-web-${VERSION}.war ${Z_HOME}/
@@ -85,11 +84,11 @@ COPY --from=interpreter-settings /opt/zeppelin/interpreter ${Z_HOME}/interpreter
 COPY log4j.properties ${Z_HOME}/conf/
 COPY --from=downloader /sbin/tini /sbin/tini
 
-RUN mkdir -p "${Z_HOME}/logs" "${Z_HOME}/run" && \
+RUN mkdir -p "${Z_HOME}/logs" "${Z_HOME}/run" "${Z_HOME}/notebook" "${Z_HOME}/local-repo" && \
      # Allow process to edit /etc/passwd, to create a user entry for zeppelin
     chgrp root /etc/passwd && chmod ug+rw /etc/passwd && \
     # Give access to some specific folders
-    chmod -R 775 "${Z_HOME}/logs" "${Z_HOME}/run" "${Z_HOME}/notebook" "${Z_HOME}/conf"
+    chmod -R 775 "${Z_HOME}/logs" "${Z_HOME}/run" "${Z_HOME}/conf" "${Z_HOME}/notebook" "${Z_HOME}/local-repo"
 
 USER 1000