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 2022/07/04 11:19:53 UTC
[zeppelin] branch master updated: [ZEPPELIN-5756] able to pass base image as docker build arg (#4389)
This is an automated email from the ASF dual-hosted git repository.
pdallig 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 337bcf1caa [ZEPPELIN-5756] able to pass base image as docker build arg (#4389)
337bcf1caa is described below
commit 337bcf1caa03ba8093a330178563f98975d2859f
Author: Michal Vince <vi...@gmail.com>
AuthorDate: Mon Jul 4 13:19:45 2022 +0200
[ZEPPELIN-5756] able to pass base image as docker build arg (#4389)
---
scripts/docker/zeppelin-interpreter/Dockerfile | 3 ++-
scripts/docker/zeppelin-server/Dockerfile | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/scripts/docker/zeppelin-interpreter/Dockerfile b/scripts/docker/zeppelin-interpreter/Dockerfile
index dc78370709..8779982acb 100644
--- a/scripts/docker/zeppelin-interpreter/Dockerfile
+++ b/scripts/docker/zeppelin-interpreter/Dockerfile
@@ -13,7 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-FROM zeppelin-distribution:latest AS zeppelin-distribution
+ARG ZEPPELIN_DISTRIBUTION_IMAGE=zeppelin-distribution:latest
+FROM $ZEPPELIN_DISTRIBUTION_IMAGE AS zeppelin-distribution
FROM ubuntu:20.04
diff --git a/scripts/docker/zeppelin-server/Dockerfile b/scripts/docker/zeppelin-server/Dockerfile
index 1cd18c5690..1e1c9c374e 100644
--- a/scripts/docker/zeppelin-server/Dockerfile
+++ b/scripts/docker/zeppelin-server/Dockerfile
@@ -13,7 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-FROM zeppelin-distribution:latest AS zeppelin-distribution
+ARG ZEPPELIN_DISTRIBUTION_IMAGE=zeppelin-distribution:latest
+FROM $ZEPPELIN_DISTRIBUTION_IMAGE AS zeppelin-distribution
# Prepare all interpreter settings for Zeppelin server
# This steps are not needed, if you you add only specific interpreters settings to your image