Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 25 lines (21 sloc) 802 Bytes
#!/bin/bash
set -e
set -u
set -o pipefail
IMAGE_NAME=${IMAGE_NAME:-zeppelin}
IMAGE_VERSION=${IMAGE_VERSION:-$(cat version.txt)}
DOCKER_FULL_TAG_NAME="${DOCKER_USER_NAME}/${IMAGE_NAME}"
if [[ ${IMAGE_VERSION} = "0.1" ]]; then
time docker build \
-t ${DOCKER_FULL_TAG_NAME}:${IMAGE_VERSION} \
-f Zeppelin-Dockerfile .
else
time docker build \
-t ${DOCKER_FULL_TAG_NAME}:${IMAGE_VERSION} \
--build-arg ZEPPELIN_VERSION=0.8.1 \
--build-arg SPARK_VERSION=2.4.4 \
--build-arg GRAALVM_VERSION=19.3.0 \
-f Zeppelin-Dockerfile .
fi
./removeUnusedContainersAndImages.sh
./push-apache-zeppelin-docker-image-to-hub.sh
You can’t perform that action at this time.