You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by mo...@apache.org on 2019/11/13 23:36:19 UTC
[zeppelin] branch master updated: [ZEPPELIN-4373]. Specify
ZEPPELIN_ADDR to 0.0.0.0 in Dockerfile
This is an automated email from the ASF dual-hosted git repository.
moon 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 a15b8f6 [ZEPPELIN-4373]. Specify ZEPPELIN_ADDR to 0.0.0.0 in Dockerfile
a15b8f6 is described below
commit a15b8f62c3d55197b798c581594a91e9e5220b32
Author: Jeff Zhang <zj...@apache.org>
AuthorDate: Thu Oct 10 21:17:26 2019 +0800
[ZEPPELIN-4373]. Specify ZEPPELIN_ADDR to 0.0.0.0 in Dockerfile
### What is this PR for?
Straightforward change to specify env `ZEPPELIN_ADDR` to `0.0.0.0` to Dockerfile
### What type of PR is it?
[Improvement ]
### Todos
* [ ] - Task
### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-4373
### How should this be tested?
* Build docker image, and verify it manually.
### Screenshots (if appropriate)
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
Author: Jeff Zhang <zj...@apache.org>
Closes #3512 from zjffdu/ZEPPELIN-4373 and squashes the following commits:
d7a4fbd56 [Jeff Zhang] [ZEPPELIN-4373]. Specify ZEPPELIN_ADDR to 0.0.0.0 to Dockerfile
---
scripts/docker/zeppelin/bin/Dockerfile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/scripts/docker/zeppelin/bin/Dockerfile b/scripts/docker/zeppelin/bin/Dockerfile
index 33623db..16186db 100644
--- a/scripts/docker/zeppelin/bin/Dockerfile
+++ b/scripts/docker/zeppelin/bin/Dockerfile
@@ -21,10 +21,12 @@ ARG ZEPPELIN_GROUP_ID=2100
# `Z_VERSION` will be updated by `dev/change_zeppelin_version.sh`
ENV Z_VERSION="0.9.0-SNAPSHOT"
+
ENV LOG_TAG="[ZEPPELIN_${Z_VERSION}]:" \
Z_HOME="/zeppelin" \
LANG=en_US.UTF-8 \
- LC_ALL=en_US.UTF-8
+ LC_ALL=en_US.UTF-8 \
+ ZEPPELIN_ADDR="0.0.0.0"
RUN groupadd --gid $ZEPPELIN_GROUP_ID zeppelin \
&& useradd -ms /bin/bash -d ${Z_HOME} zeppelin --uid $ZEPPELIN_USER_ID --gid $ZEPPELIN_GROUP_ID