File tree 1 file changed +4
-3
lines changed 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 19
19
# This script builds and pushes docker images when run from a release of Spark
20
20
# with Kubernetes support.
21
21
22
- declare -A path=( [spark-driver]=dockerfiles/driver/Dockerfile \
23
- [spark-executor]=dockerfiles/executor/Dockerfile )
22
+ declare -A path=( [spark-driver]=kubernetes/ dockerfiles/driver/Dockerfile \
23
+ [spark-executor]=kubernetes/ dockerfiles/executor/Dockerfile )
24
24
25
25
function build {
26
- docker build -t spark-base -f dockerfiles/spark-base/Dockerfile .
26
+ docker build -t spark-base -f kubernetes/ dockerfiles/spark-base/Dockerfile .
27
27
for image in " ${! path[@]} " ; do
28
28
docker build -t ${REPO} /$image :${TAG} -f ${path[$image]} .
29
29
done
@@ -37,6 +37,7 @@ function push {
37
37
}
38
38
39
39
function usage {
40
+ echo " This script must be run from a runnable distribution of Apache Spark."
40
41
echo " Usage: ./sbin/build-push-docker-images.sh -r <repo> -t <tag> build"
41
42
echo " ./sbin/build-push-docker-images.sh -r <repo> -t <tag> push"
42
43
echo " for example: ./sbin/build-push-docker-images.sh -r docker.io/myrepo -t v2.3.0 push"
You can’t perform that action at this time.
0 commit comments