From 3ee8ceb2537be369ec36c0a2a08cf6f36a30f1c1 Mon Sep 17 00:00:00 2001 From: Dongjoon Hyun Date: Mon, 5 Aug 2024 14:47:19 -0700 Subject: [PATCH] [SPARK-49117][K8S] Fix `docker-image-tool.sh` to be up-to-date --- bin/docker-image-tool.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/bin/docker-image-tool.sh b/bin/docker-image-tool.sh index a137a2fba52ee..efbd63a3037d6 100755 --- a/bin/docker-image-tool.sh +++ b/bin/docker-image-tool.sh @@ -261,18 +261,18 @@ Examples: $0 -m -t testing build - Build PySpark docker image - $0 -r docker.io/myrepo -t v3.4.0 -p kubernetes/dockerfiles/spark/bindings/python/Dockerfile build + $0 -r docker.io/myrepo -t v4.0.0 -p kubernetes/dockerfiles/spark/bindings/python/Dockerfile build - - Build and push image with tag "v3.4.0" to docker.io/myrepo - $0 -r docker.io/myrepo -t v3.4.0 build - $0 -r docker.io/myrepo -t v3.4.0 push + - Build and push image with tag "v4.0.0" to docker.io/myrepo + $0 -r docker.io/myrepo -t v4.0.0 build + $0 -r docker.io/myrepo -t v4.0.0 push - - Build and push Java11-based image with tag "v3.4.0" to docker.io/myrepo - $0 -r docker.io/myrepo -t v3.4.0 -b java_image_tag=11-jre build - $0 -r docker.io/myrepo -t v3.4.0 push + - Build and push Java17-based image with tag "v4.0.0" to docker.io/myrepo + $0 -r docker.io/myrepo -t v4.0.0 -b java_image_tag=17 build + $0 -r docker.io/myrepo -t v4.0.0 push - Build and push image for multiple archs to docker.io/myrepo - $0 -r docker.io/myrepo -t v3.4.0 -X build + $0 -r docker.io/myrepo -t v4.0.0 -X build # Note: buildx, which does cross building, needs to do the push during build # So there is no separate push step with -X